-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve API Documentation #1148
Comments
Sounds fantastic - please go right ahead. One PR should be fine - sphinx.ext.viewcode sounds good too. |
@prikhi looking forward to it. any update? |
@auvipy I've found myself infinitely busy(as usual). I could quickly add If you have a desire to contribute, feel free to submit a PR & reference this issue. I will check off whatever you get in. |
I'm not good in this. can you provide any way following which i can help in this process? @prikhi |
Hey, now that we're talking about this, I would like to suggest we implement something like what the Django docs do. They enable you to view the docs for all versions (1.4, 1.5, 1.6, 1.7, etc), and more importantly, highlight any new features that are introduced in new versions ("New in Django 1.7"). I think Mezzanine could benefit from something like this, specially for developers not staying up to date with the current stable version. There really isn't anything technical about this, is just a matter of making it a convention when new features are documented. |
@auvipy You should check out the sphinx documentation, especially the cross-referencing & info-field list of the python domain: http://sphinx-doc.org/markup/inline.html "New in" text uses the Not sure on an easy way to show different versions of the docs, but I know readthedocs.org lets you do this easily. |
Awesome idea, wanted to get that working for ages. If anyone feels inclined, please dive in. |
Should we use http://readthedocs.org ? |
I have had a look at 'read the docs' and managed to get prikhi's version to compile (I had to add a Secret Key to settings.py) |
Does that include #1233? There should be To build docs locally, you need to do something like: pip install Sphinx
sphinx-build -b html docs _build |
mmm I will try again On 24/03/15 22:15, Lysergia wrote:
|
You may just need to select the correct branch on ReadTheDocs(under |
yep - it's just me being a noob with github On 24/03/15 22:33, Lysergia wrote:
|
OK hopefully fixed |
There's always been a docs mirror on readthedocs - http://mezzanine.readthedocs.org/ How do the Django docs do the versioning? |
I get free versioning on readthedocs.org: http://fecwebsite.readthedocs.org/en/latest/ All I did was mark multiple version as "active" under |
is it gonna be complete anytime soon? |
Regarding #1466 should I continue adding those for the rest of the docs? |
@chmelevskij yes please, it's a huge help |
I would love it if the docs took advantage of some more of Sphinx's features, like cross-references and info field lists: http://sphinx-doc.org/domains.html#the-python-domain
I'm willing to get started on this, I just want to get the sign off before putting any work into it.
Would you prefer a single(squashed?) PR or a PR per app?
And is there opposition to enabling the
sphinx.ext.viewcode
Sphinx extension? I find this helpful as it keeps me from having to jump between mezzanines docs when I need the overview and the code when I need the details. But I wouldn't be sad if this got shot down, I can always just build them locally...mezzanine/
docs/
This is a lot and my mezzanine dev time is limited so I will be slowly working on this over at prikhi/mezzanine@c19b41b
The text was updated successfully, but these errors were encountered: