Skip to content
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
Closed

build_article() doesn't set IN_PKGDOWN #650

jflournoy opened this issue May 2, 2018 · 0 comments
Labels
articles ✍️ bug an unexpected problem or unintended behavior

Comments

@jflournoy
Copy link

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).

@hadley hadley added bug an unexpected problem or unintended behavior articles ✍️ labels May 22, 2018
@hadley hadley closed this as completed in ffd5e2e May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
articles ✍️ bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants