-
Notifications
You must be signed in to change notification settings - Fork 491
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
@autodocs: pages
matches the suffix of all available files
#2639
Comments
pages
matches the suffix of all avalable filespages
matches the suffix of all available files
I don't disagree that the behavior can be considered a bit counter-intuitive, but I think it matches the docs?
It's essentially an |
Fair enough, it is indeed covered by the documentation. However, I think that it is a misleading feature, as I was puzzled by duplicated docs for similar file names. I took me a while to determine the I would like to restrict this file lookup only to folder structures. However, this would break the current behavior. What do you think? |
Yea, always happy to take clarifying documentation 🙂 I think changing the behavior would indeed be breaking. I suppose one non-breaking way to do this would be to introduce a new options with a new name. |
I rephrased that part in the doc in #2647. I agree that changing the behavior is a breaking change. |
Hi there, I came across a weird
@autodocs
problem.I have files
foo.jl
andbar_foo.jl
in mysrc
folder.The snipped
```@autodocs
Modules = [Foo]
Private = true
Public = false
Pages = ["foo.jl"]
```
includes both
foo.jl
andbar_foo.jl
for the documentation. I think this contradicts the documentation in https://documenter.juliadocs.org/stable/man/syntax/#@autodocs-blockThe text was updated successfully, but these errors were encountered: