2008-03-09 16:32:24 -05:00
|
|
|
|
{% extends "layout.html" %}
|
2013-03-10 08:07:31 -05:00
|
|
|
|
{% set title = _('Overview') %}
|
2008-03-09 16:32:24 -05:00
|
|
|
|
{% block body %}
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<h1>{{ _('Welcome') }}</h1>
|
2008-03-09 16:32:24 -05:00
|
|
|
|
|
2008-11-16 11:44:54 -06:00
|
|
|
|
<div class="quotebar">
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<p><em>{%trans%}What users say:{%endtrans%}</em></p>
|
2016-07-20 20:09:01 -05:00
|
|
|
|
<p>{%trans%}“Cheers for a great tool that actually makes programmers <b>want</b>
|
|
|
|
|
to write documentation!“{%endtrans%}</p>
|
2008-11-16 11:44:54 -06:00
|
|
|
|
</div>
|
|
|
|
|
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<p>{%trans%}
|
2008-03-09 16:32:24 -05:00
|
|
|
|
Sphinx is a tool that makes it easy to create intelligent and beautiful
|
2013-03-10 08:07:31 -05:00
|
|
|
|
documentation, written by Georg Brandl and licensed under the BSD license.{%endtrans%}</p>
|
2015-02-22 22:20:35 -06:00
|
|
|
|
<p>{%trans%}It was originally created for <a href="https://docs.python.org/">the
|
2016-03-15 12:53:20 -05:00
|
|
|
|
Python documentation</a>, and it has excellent facilities for the
|
|
|
|
|
documentation of software projects in a range of languages. Of
|
2010-02-28 16:12:00 -06:00
|
|
|
|
course, this site is also created from reStructuredText sources using
|
2013-03-10 08:07:31 -05:00
|
|
|
|
Sphinx! The following features should be highlighted:{%endtrans%}
|
2008-03-09 16:32:24 -05:00
|
|
|
|
</p>
|
|
|
|
|
<ul>
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<li>{%trans%}<b>Output formats:</b> HTML (including Windows HTML Help), LaTeX (for
|
2014-01-12 05:44:36 -06:00
|
|
|
|
printable PDF versions), ePub, Texinfo, manual pages, plain text{%endtrans%}</li>
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<li>{%trans%}<b>Extensive cross-references:</b> semantic markup and automatic links
|
2010-02-28 16:12:00 -06:00
|
|
|
|
for functions, classes, citations, glossary terms and similar pieces of
|
2013-03-10 08:07:31 -05:00
|
|
|
|
information{%endtrans%}</li>
|
|
|
|
|
<li>{%trans%}<b>Hierarchical structure:</b> easy definition of a document tree, with
|
|
|
|
|
automatic links to siblings, parents and children{%endtrans%}</li>
|
|
|
|
|
<li>{%trans%}<b>Automatic indices:</b> general index as well as a language-specific
|
|
|
|
|
module indices{%endtrans%}</li>
|
|
|
|
|
<li>{%trans%}<b>Code handling:</b> automatic highlighting using the <a
|
|
|
|
|
href="http://pygments.org">Pygments</a> highlighter{%endtrans%}</li>
|
2016-09-02 02:37:29 -05:00
|
|
|
|
<li>{%trans path=pathto('ext/builtins')%}<b>Extensions:</b> automatic testing of code snippets, inclusion of
|
2013-01-18 16:17:11 -06:00
|
|
|
|
docstrings from Python modules (API docs), and
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<a href="{{ path }}#builtin-sphinx-extensions">more</a>{%endtrans%}</li>
|
2014-09-22 03:20:02 -05:00
|
|
|
|
<li>{%trans path=pathto('develop')%}<b>Contributed extensions:</b> more than
|
|
|
|
|
50 extensions <a href="{{ path }}#extensions">contributed by users</a>
|
|
|
|
|
in a second repository; most of them installable from PyPI{%endtrans%}</li>
|
2008-03-09 16:32:24 -05:00
|
|
|
|
</ul>
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<p>{%trans%}
|
2016-02-13 09:00:42 -06:00
|
|
|
|
Sphinx uses <a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>
|
2008-03-09 16:32:24 -05:00
|
|
|
|
as its markup language, and many of its strengths come from the power and
|
|
|
|
|
straightforwardness of reStructuredText and its parsing and translating
|
2016-02-13 09:00:42 -06:00
|
|
|
|
suite, the <a href="http://docutils.sourceforge.net/">Docutils</a>.{%endtrans%}
|
2008-03-09 16:32:24 -05:00
|
|
|
|
</p>
|
|
|
|
|
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<h2 style="margin-bottom: 0">{%trans%}Documentation{%endtrans%}</h2>
|
2009-11-08 11:20:53 -06:00
|
|
|
|
|
2016-12-15 06:53:13 -06:00
|
|
|
|
<table class="contentstable">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2017-11-03 07:44:00 -05:00
|
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("usage/quickstart") }}">{%trans%}First steps with Sphinx{%endtrans%}</a><br/>
|
2016-12-15 06:53:13 -06:00
|
|
|
|
<span class="linkdescr">{%trans%}overview of basic tasks{%endtrans%}</span></p>
|
|
|
|
|
</td><td>
|
|
|
|
|
{%- if hasdoc('search') %}<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{%trans%}Search page{%endtrans%}</a><br/>
|
|
|
|
|
<span class="linkdescr">{%trans%}search the documentation{%endtrans%}</span></p>{%- endif %}
|
|
|
|
|
</td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td>
|
|
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{%trans%}Contents{%endtrans%}</a><br/>
|
|
|
|
|
<span class="linkdescr">{%trans%}for a complete overview{%endtrans%}</span></p>
|
|
|
|
|
</td><td>
|
|
|
|
|
{%- if hasdoc('genindex') %}<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{%trans%}General Index{%endtrans%}</a><br/>
|
|
|
|
|
<span class="linkdescr">{%trans%}all functions, classes, terms{%endtrans%}</span></p>{%- endif %}
|
|
|
|
|
</td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td>
|
|
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("changes") }}">{%trans%}Changes{%endtrans%}</a><br/>
|
|
|
|
|
<span class="linkdescr">{%trans%}release history{%endtrans%}</span></p>
|
|
|
|
|
</td><td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2008-03-09 16:32:24 -05:00
|
|
|
|
</table>
|
|
|
|
|
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<p>{%trans%}
|
2018-06-15 22:26:22 -05:00
|
|
|
|
You can also download PDF/EPUB versions of the Sphinx documentation
|
|
|
|
|
from pop up menu on lower right corner.{%endtrans%}
|
2010-02-28 16:12:00 -06:00
|
|
|
|
</p>
|
|
|
|
|
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<h2>{%trans%}Examples{%endtrans%}</h2>
|
|
|
|
|
<p>{%trans path=pathto("examples")%}Links to documentation generated with Sphinx can be found on the
|
|
|
|
|
<a href="{{ path }}">Projects using Sphinx</a> page.{%endtrans%}
|
2010-02-28 16:12:00 -06:00
|
|
|
|
</p>
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<p>{%trans%}
|
2010-02-28 16:12:00 -06:00
|
|
|
|
For examples of how Sphinx source files look, use the “Show
|
|
|
|
|
source” links on all pages of the documentation apart from this
|
2013-03-10 08:07:31 -05:00
|
|
|
|
welcome page.{%endtrans%}
|
2010-02-28 16:12:00 -06:00
|
|
|
|
</p>
|
|
|
|
|
|
2013-03-10 08:07:31 -05:00
|
|
|
|
<p>{%trans%}You may also be interested in the very nice
|
2009-11-08 12:36:16 -06:00
|
|
|
|
<a href="http://matplotlib.sourceforge.net/sampledoc/">tutorial</a> on how to
|
|
|
|
|
create a customized documentation using Sphinx written by the matplotlib
|
2013-03-10 08:07:31 -05:00
|
|
|
|
developers.{%endtrans%}</p>
|
2009-11-08 12:36:16 -06:00
|
|
|
|
|
2013-09-15 22:10:27 -05:00
|
|
|
|
<p>{%trans%}There is a <a href="http://docs.sphinx-users.jp/">Japanese translation</a>
|
|
|
|
|
of this documentation, thanks to the Japanese Sphinx user group.{%endtrans%}</p>
|
|
|
|
|
<p>{%trans%}A Japanese book about Sphinx has been published by O'Reilly:
|
2018-01-20 16:04:57 -06:00
|
|
|
|
<a href="https://www.oreilly.co.jp/books/9784873116488/">Sphinxをはじめよう /
|
2014-01-12 05:44:36 -06:00
|
|
|
|
Learning Sphinx</a>.{%endtrans%}</p>
|
2019-05-02 04:49:23 -05:00
|
|
|
|
<p>{%trans%}In 2019 the second edition of a German book about Sphinx was published:
|
|
|
|
|
<a href="https://literatur.hasecke.com/post/software-dokumentation-mit-sphinx/">Software-Dokumentation mit Sphinx</a>.{%endtrans%}</p>
|
2014-01-12 05:44:36 -06:00
|
|
|
|
<!-- <p><img src="{{ pathto("_static/bookcover.png", 1) }}"/></p> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>{%trans%}Hosting{%endtrans%}</h2>
|
|
|
|
|
|
|
|
|
|
<p>{%trans%}Need a place to host your Sphinx docs?
|
2018-01-07 11:08:29 -06:00
|
|
|
|
<a href="https://readthedocs.org/">readthedocs.org</a> hosts a lot of Sphinx docs
|
2014-01-12 05:44:36 -06:00
|
|
|
|
already, and integrates well with projects' source control. It also features a
|
|
|
|
|
powerful built-in search that exceeds the possibilities of Sphinx' JavaScript-based
|
|
|
|
|
offline search.{%endtrans%}</p>
|
2009-11-08 12:36:16 -06:00
|
|
|
|
|
2014-08-30 10:02:01 -05:00
|
|
|
|
<h2>{%trans%}Contributor Guide{%endtrans%}</h2>
|
|
|
|
|
|
|
|
|
|
<p>{%trans%}If you want to contribute to the project,
|
|
|
|
|
this part of the documentation is for you.{%endtrans%}</p>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<li>{%trans path=pathto("devguide")%}<a href="{{ path }}">Sphinx Developer’s Guide</a></li>{%endtrans%}
|
|
|
|
|
<li>{%trans path=pathto("authors")%}<a href="{{ path }}">Sphinx Authors</a></li>{%endtrans%}
|
|
|
|
|
</ul>
|
|
|
|
|
|
2019-10-06 09:41:37 -05:00
|
|
|
|
<h2>{%trans%}Code of Conduct{%endtrans%}</h2>
|
|
|
|
|
|
|
|
|
|
{%trans path=pathto("code_of_conduct")%}Please adhere to our <a href="{{ path }}">Code of Conduct</a>.{%endtrans%}
|
|
|
|
|
|
2008-03-21 10:31:32 -05:00
|
|
|
|
{% endblock %}
|