-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
docs 1.0 upgrade #137
docs 1.0 upgrade #137
Conversation
@mortenpi is it expected behavior that Documenter complains about LinearAlgebra docstrings, while that module is not included in the modules keyword? |
You're overloading that function and attaching a docstring to it here: ExponentialUtilities.jl/src/StegrWork.jl Lines 54 to 67 in f317b06
So yes, it's expected. It's searching for docstrings (not functions etc) in your modules. Edit: I think we can do a better job with the error here though: JuliaDocs/Documenter.jl#2265 |
Why is it not just the public functions? JuliaLang/julia#50105 defines the public semantics, why wouldn't Documenter follow them? |
I mean.. that PR got merged like 2 days ago, and doesn't even exist in a Julia release. That said, yes, I do think we want to update Documenter's logic here eventually (JuliaDocs/Documenter.jl#600 (comment)). |
Well you were saying you were going to throw a better error in the future. I was just saying that if anything should happen in the future, this case shouldn't error unless it's a public function. |
Ah. Well, you can still run into the error if you're legitimately extending a function from somewhere else. The confusion here, from my perspective, is that it looks like Documenter is complaining about someone else's docstring. But it's actually complaining about one of yours, which you do want to include in the manual (probably; if it's public stuff that is). So making this error better would be useful regardless. That said.. |
No description provided.