Create, host, and browse documentation.
pip install sphinx
sphinx-quickstart
make html
.. toctree:: :maxdepth: 2 intro tutorial ...
.. py:function:: enumerate(sequence[, start=0]) Return an iterator that yields tuples of an index and an item of the *sequence*. (And so on.)
The :py:func:`enumerate` function can be used for ...
.. automodule:: io :members:
.. default-domain:: name
.. js:function:: $.getJSON(href, callback[, errback]) :param string href: An URI to the location of the resource. :param callback: Get's called with the object. :param errback: Get's called in case the request fails. And a lot of other text so we need multiple lines :throws SomeError: For whatever reason in that case. :returns: Something
.. code-block:: ruby Some Ruby code.
.. code-block:: ruby :linenos: Some more Ruby code.