-
Notifications
You must be signed in to change notification settings - Fork 479
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
Multiple constructors #396
Comments
They also do not seem to be seen by |
Solution might be to reorganise the docs for all (This is just from a very quick scan over that code, I'll have some more time in tomorrow/day after to look more closely.) |
Any decision on this? Automatically collecting docstrings for all constructors of a type (the same way REPL does it) would be very convenient. |
Can I bump this? This would be super useful. |
I just had kind of the same problem the other way round. When aliasing a type, say " Foo <: Any"
struct Foo end
" Foo(x)"
Foo(x) = Foo()
" (::Foo)()"
(::Foo)() = 42
AliasOfFoo = Foo then
produces all the docstrings (with somewhat wrong heading “
would be a nice solution for my problem and that described above? |
Looking into the code, it seems like The strange behavior of |
@mgkurtz I think you've run into #558 (comment). The aliasing observations are useful though. |
I am trying to document multiple constructors for
BigFloat
added in https://github.com/JuliaLang/julia/pull/17217/filesThe only way to do this seems to be to list them manually one by one. However, all docstrings for
setprecision
are included with one single line innumbers.md
.Is there a way to do the same for the
BigFloat
constructors?The text was updated successfully, but these errors were encountered: