Skip to content

Instantly share code, notes, and snippets.

@ldong
Created July 16, 2014 03:29
Show Gist options
  • Select an option

  • Save ldong/e5480b28a665245f454d to your computer and use it in GitHub Desktop.

Select an option

Save ldong/e5480b28a665245f454d to your computer and use it in GitHub Desktop.
sphinx tutorial

Sphinx Notes

What is sphinx

Sphinx is used to document api-docs, the python docs also uses this.

Starter

Sphinx uses rst to write documents, but I've used markdown to write docs for a while, so it is nice to have know both.

Go to read my other gist here

Saving Time With APIdoc

Let's generate rst files for modules using

sphinx-apidoc [options] -o <outputdir> <sourcedir> [pathnames ...]

Must understand TOC(Table of contents) as well.

References

A ReStructuredText Primer

reStructuredText Primer

Sphinx official

Sphinx Autodoc Tutorial for Dummies

Pandoc Markdown and ReST Compared

Documenting Your Project Using Sphinx

SphinxTutorial Documentation

Sphinx as a Static Site Generator

Writing A Book With Vim, Restructured Text, and Sphinx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment