-
Notifications
You must be signed in to change notification settings - Fork 652
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
Restructure documentation for user-friendliness #1175
Comments
I liked the idea of a tiered approach, first there should be an explanation of how it works, and only after an explanation of why. |
So thinking about this, the only problem is that there is potential for the So one option would be to later implement doc testing on our first part/tutorial so that it always works as intended |
Related I just found out that scikit-learn has a Circle-CI setup that uploads the changes for a document build. This allows a reviewer to quickly check the result and give comments without building it himself. |
Docs split into User guide, then API reference
From the scikit-learn example that @kain88-de linked I found out about http://sphinx-gallery.readthedocs.io , which allows one to make nice docs from small scripts. Maybe worthwhile looking into in conjunction with the proposed examples gallery MDAnalysis/MDAnalysis.github.io#4 . |
Although this could go into a patch level, I am retargeting to 0.17.0 so that we can focus on fixing bugs for 0.16.1. |
Docs split into User guide, then API reference: outlining the general structure of the docs.
Should perhaps also include #360
Also see discussion there regarding user/developer docs. |
More for the wish list: system building
|
More from other issues with the Component-Docs tag: All along the lines of How to add new properties to an AtomGroup
Although this is advanced stuff, we could start putting it into the currently very, very thin section The topology system, at least for a start. |
A while back @tylerjereddy suggested to do separate pages for classes. Apparently, something like this can be automated with sphinx's autosummary directive. |
Doc rewrite is not going to happen for 0.17.0 – I am moving it down. |
More docs todo on loading trajectories:
|
Update docs on selections
|
https://github.com/astropy/sphinx-automodapi looks interesting (see the automodapi docs): it can automatically create the complete API docs for a whole package. Might be useful once we really split the docs in
There's also the sphinx.ext.autosummary extension. |
Docs on extending topologies (thanks to #363)
|
Google launched Season of Docs – this issue looks like a suitable starting point for a tech writer who would want to work with MDAnalysis. |
@lilyminium with your GSoD project, this is your area :-) |
I'm gonna say @lilyminium has done this |
The MDAnalysis documentation is structured in such a way that it contains scant information on the user interface and otherwise gives detail on the internal components of MDAnalysis that users should never really have to touch directly (parsers, readers and writers). We've seen usage on the mailing list from users in which they try e.g. to directly use a
Reader
object to parse a trajectory, and the docs don't make it clear that this isn't really the way to go about things.I think the docs should be restructured to have three parts. The first part should read more like the MDAnalysis Tutorial, giving a friendly view as to how one uses
MDAnalysis
in practice. The second part should be an API reference, with the full sphinx autodoc output for the user interface components showed in part one. The last part should be the developer docs, which would include the reference docs for internal components, such as parsers, readers, and writers so that they are somewhere.Thoughts?
The text was updated successfully, but these errors were encountered: