reStructuredText Sphinx concepts and syntax ¶
This section is a brief introduction to reStructuredText (reST) concepts and syntax, intended to provide authors with enough information to author documents productively.
Since reST was designed to be a simple, unobtrusive markup language, this will not take too long.
-
http://packages.python.org/an_example_pypi_project/sphinx.html
-
https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html
- reStructuredText Primer
- reStructuredText (RST, ReST, or reST) Cheatsheet
-
conf.py
Examples - sphinx code
- code-block (pygments, highlight)
- Comments
- Sphinx Directives
- sphinx domain
- Explicit Markup
- figure
- Sphinx Footnotes
- Sphinx Hyperlinks
- include
- Image
- sphinx markup
- Paragraphs
- Lists
-
Sphinx
raw html
- Embedding a video
- <ins>awsome</ins>
- <del>awsome</del>
- There is <del>nothing</del> <ins>no code</ins> either good or bad, but <del>thinking</del> <ins>running it</ins> makes it so
- Raw data can also be read from an external file
- <p style="color:red;">I am red</p>
- <p style="background-color:yellow;">This is a paragraph.</p>
- <p style="color:red;"><del>I am red</del></p>
- <p style="color:green;">I am green</p>
- <p class="gras vert">paragraphe gras et vert.</p>
- <p class="rajout_vert">I am class green</p>
- Source Code
- Source encoding
- sidebar
- Sphinx Sections
- Substitution
- toctree
- Tables
- Tutorials