-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Base documentation #12489
Comments
Should this have the 0.4 milestone label? |
Yes, since it's the only thing I know of that's left as a blocker. |
@one-more-minute how do we add documentation now? I asked @jiahao and he does not know either. |
#12435 still needs to be completed for markdown docs to be converted and extracted properly, but at the moment adding an entry in
and a corresponding line somewhere in the
followed by To write this inline rather than in @one-more-minute please do correct me if I've got anything mixed up. |
Thanks for all your help here @MichaelHatherly. What would converting the docs to markdown buy us right now, if we don't have replacements for the website, doctests, linkchecks, cross-references, and any other things we currently use Sphinx for? If some of these things can be built in parallel on branches or in separate repos (using Lexicon anywhere that makes sense?) then it should, but this doesn't seem mature enough to use for 0.4. So #12435 doesn't seem release-critical to me, but correct me if there's some reason I'm missing that it should be. We need to make sure that all recent doc additions are consistently ending up in both places (check https://github.com/JuliaLang/julia/commits/master/base/docs/helpdb.jl vs https://github.com/JuliaLang/julia/commits/master/doc for consistency), and that the few conflicts and RST losses from #11943 get cleaned back up and restored. |
Other than having nicer looking docs in the REPL, not a lot at the moment until we've got cross-references etc. supported.
Maybe the manual / stdlib docs should live in a separate repo (
Changes and tweaks to the docs during an RC phase would be alright to do, wouldn't they? They wouldn't really be changing/adding new features to the language. |
Yes. But would like to avoid having to carefully review massive thousands-of-lines diffs if we don't need to do so right this moment. |
Yeah, definitely. I think we could probably make those kind of doc changes piece by piece, even manually if needed, which should hopefully avoid that. |
@tkelman "Moving the docs to markdown" is really two seperate issues. One is simply changing the format of the docstrings to markdown, which #12435 implements. This is actually a very simple and non-disruptive change, albeit touching a lot of docstrings, since we can continue outputting RST and keep all the sphinx stuff around. We also don't need to implement a bunch of supporting features like cross-references, since we can just convert the basic ones and attack the rest later on. The second is moving the manual itself to markdown. That's a much bigger deal, since all the docstrings must be in the right format (which means implementing crossrefs etc.) and on top of that we need to sort out the new website etc. I'm completely in agreement that that's not a reasonable goal for a nearby release. |
Questions:
|
It would also be good to have the generated .rst files be emblazoned with
|
Ok thanks, this seems a bit convoluted at the moment. I think there needs to be a toplevel issue enumerating the steps / path forward for 0.5. It seems like there is a lot of work still left to do to make the entire transition of the manual to Markdown. What are the closest competitors to Sphinx for writing long form documentation? |
I'd change my suggestion, and have |
Could rippledoc be an alternative to Sphinx? |
@one-more-minute I agree the format conversion is theoretically straightforward, but it's a large change that needs to be vetted to make sure it's translating everything correctly. It's a nice-to-have if it makes the display nicer but I don't think we need to block the release on it. The more substantial "Replace Sphinx entirely" goal has a lot more missing pieces that will be difficult to implement. Good goal that can hopefully be built incrementally during 0.5 and onward. There is a bit of a git issue here, but I think the simplest plan for right this second is to commit your changes both to helpdb, and post- |
@StefanKarpinski , this is #12489...? |
Sorry, wrong link. |
No worries, now it's up to me to catch up with what y'all have been doing! I'll try to figure it out and ping you if I need help. Thanks for your herculean efforts here. I'm assuming this can be deservedly closed. |
Just a reminder issue: we need fixes or guidance on the proper way to proceed for the documentation changes. Those of us who have tried haven't gotten very far yet.
If there's anything needed to "build the docs" (e.g.,
doc/genstdlib.jl
), instructions should be put somewhere appropriate.The text was updated successfully, but these errors were encountered: