New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_article() doesn't set IN_PKGDOWN #650

Closed
jflournoy opened this Issue May 2, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@jflournoy

jflournoy commented May 2, 2018

Perhaps this is the intended behavior, but if not, I want to point out that build_articles calls section_init, which ends up setting IN_PKGDOWN to true, but build_article calls as_pkgdown, which does not end up setting IN_PKGDOWN at all. I think it would be useful to be able to check if IN_PKGDOWN is true when building single articles (well, at least for me).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment