-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add documentation to the sized identity matrix #35705
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
Conversation
As proposed on discourse, I would like to add this to improve the documentation. https://discourse.julialang.org/t/linear-algebra-tricks/38618/10?u=roble
|
Looks like Documenter doesn't understand this. @fredrikekre do you know if there is a way to do this? |
|
The function seems to have documentation strings. However I believe that documenter struggles with the function declaration in the index.md file. From my still small Julia knowledge, I would guess, that it is something like this: https://docs.julialang.org/en/v1/manual/methods/#Function-like-objects-1 |
|
I don't think it is possible to include this in |
|
Yeah, this is currently problematic. The docsystem is a bit buggy, but also Documenter probably can't handle it properly: JuliaDocs/Documenter.jl#558 Although, if it would work, I think the syntax for this in at-docs blocks should be |
Let's hope that Documenter likes it this time
|
I tried to replicate the behaviour of Documenter in REPL. Following things happened:
(Edit:) I am not shure how to proceed... |
|
Since it's broken from the docsystem side, I would suggest merging the docstring for |
One more try to pass that doc test
Yeah that would certainly be a valid solution. But before I do this, I will try to resolve this issue. According to zekeriya.sari's answer, I do believe that It should be possible. |
Co-authored-by: Morten Piibeleht <morten.piibeleht@gmail.com>
As proposed on discourse, I would like to add this to improve the documentation.