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

Allow build order of pages to be specified #1029

Merged
merged 3 commits into from Jun 10, 2019
Merged

Allow build order of pages to be specified #1029

merged 3 commits into from Jun 10, 2019

Conversation

mortenpi
Copy link
Member

@mortenpi mortenpi commented Jun 4, 2019

Adds priority_expand keyword to makedocs, which allows some pages to be evaluated before the others. Also, enforces a systematic ordering on the rest of the pages by sorting them by the path.

Should fix #1027. @kescobo, does this solve your use case? You can take a look at docs/make.jl to see the usage.

@kescobo
Copy link
Contributor

kescobo commented Jun 4, 2019

Yes, that looks great!

expandfirst allows the user to customize the order in which the pages
get expanded by allowing them to prioritize some of the pages.
@mortenpi
Copy link
Member Author

mortenpi commented Jun 8, 2019

Ok, I decided to call it expandfirst. Bikeshedding welcome though 🙂

@mortenpi mortenpi marked this pull request as ready for review June 8, 2019 01:07
@mortenpi mortenpi merged commit 4307bcd into master Jun 10, 2019
@mortenpi mortenpi deleted the mp/build-order branch June 10, 2019 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Order and selection of built docs in Makedocs
3 participants