Referencing figures with numbers in Sphinx and reStructuredText

In the latest versions of Sphinx (1.3+), numbering figures and referencing them from text got a bit easier as support for it is now built-in. In your text, you can do something like: .. _label: .. figure:: images/figure.* At :numref:`label` you can see… The end result should be something like “At Fig 1.1 you can … Read more

reStructuredText tool support

Salvaging (and extending) the list from an old version of the Wikipedia page: Documentation Primer Cheat Sheet Quick Reference Implementations Although the reference implementation of reStructuredText is written in Python, there are reStructuredText parsers in other languages too. Python – Docutils The main distribution of reStructuredText is the Python Docutils package. It contains several conversion … Read more

Inline code highlighting in reStructuredText

Having looked into this some more I stumbled upon the document reStructuredText Interpreted Text Roles. From this document: Interpreted text uses backquotes (`) around the text. An explicit role marker may optionally appear before or after the text, delimited with colons. For example: This is `interpreted text` using the default role. This is :title:`interpreted text` … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)