Skip to content
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

Covert documentation to sphinx #157

Merged
merged 8 commits into from
Dec 19, 2016
Merged

Covert documentation to sphinx #157

merged 8 commits into from
Dec 19, 2016

Conversation

MattHardcastle
Copy link
Contributor

@MattHardcastle MattHardcastle commented Nov 10, 2016

This converts the documentation to Sphinx format. Sphinx is required for converting documentation to readthedocs #156 . If merged it should be trivial to get readthedocs.org setup. It doesn't contain changes to the build-docs.sh script but that script can probably be removed after readthedocs.org is configured?

Finally, this pull request is broken up into easy to follow commits. Your contribution guidelines mention you prefer a single commit for a change. I'm happy to squash the branch if you prefer.

Prior to this commit the documentation was built with asciidoc. This
commit replaces that asciidoc build environment with Sphinx.

Note: The asciidoc documentation file `doc.asciidoc` (renamed
`index.rst` in this commit) is still asciidoc markdown. Though it
builds with Sphinx the output mostly broken. A series of commits will
follow this commit that will fix the formatting issues.

Further reading:

* http://www.sphinx-doc.org/en/1.4.8/
* http://www.sphinx-doc.org/en/1.4.8/tutorial.html
The leading dot is not significant in Structerdoc.
Possible issues:

* This commit puts the images into the repository. They were probably
  left out intentionally, so this commit may need to be modified to pull
  the images from their real source.
Sphnix creates an index implicitly at the bottom of the page so an
explicitly index creation is not required.

Possible issues:

* The index is at the bottom of the page; it used to be at the top.
* The index is not numbered, neither are the sections.
@coveralls
Copy link

coveralls commented Nov 10, 2016

Coverage Status

Coverage remained the same at 83.04% when pulling bb5b7c0 on MattHardcastle:covert-docs-to-sphinx into 61427e4 on djangonauts:master.

@nemesifier
Copy link
Member

Sorry for the delay, will try it and merge it asap

@nemesifier nemesifier merged commit bb5b7c0 into djangonauts:master Dec 19, 2016
@nemesifier
Copy link
Member

@MattHardcastle would you be interested in #161?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants