-
Notifications
You must be signed in to change notification settings - Fork 482
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
Order and selection of built docs in Makedocs #1027
Comments
Hmm, this is a bit tricky. I am not actually sure how we decide the order of execution, but I think it's rather arbitrary. I am not sure that following the ordering How about the ability to declare a set of pages that get priority? That is, pass a vector to |
Good point, though I think the ordering in |
As we also parse and execute pages that are not in |
Huh, I didn't know that. I'm guessing that's why other markdown files in I guess I don't know the use case for stuff that's not in pages - are there examples you're aware of? I guess I don't have really strong opinions on defaults so long as there is a way to pick and chose. |
Yep, we are executing everything if I remember correctly.
You omit We could, of course, collect all |
This would make a lot of sense to me. |
I did run into a use case where I would actually like to properly build the non- |
Related to #1013 (since the order of code execution in the project is critical, otherwise I'm referencing files before they're created), and maybe to #936 ?
make.jl
:src/foo.md
:src/bar.md
:I would expect the answer to
isfile("test.txt")
should befalse
, since"Foo"=> "foo.md"
is listed first inpages
, but I gettrue
.In addition, if I add
src/baz.md
:the file is created even though it's not listed in
pages
.The text was updated successfully, but these errors were encountered: