2008-03-09 21:32:24 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
|
{% set title = 'Overview' %}
|
|
|
|
|
{% block body %}
|
|
|
|
|
<h1>Welcome</h1>
|
|
|
|
|
|
2008-11-16 18:44:54 +01:00
|
|
|
<div class="quotebar">
|
2010-02-28 23:12:00 +01:00
|
|
|
<p><em>What users say:</em></p>
|
2008-11-16 18:44:54 +01:00
|
|
|
<p>“Cheers for a great tool that actually makes programmers <b>want</b>
|
|
|
|
|
to write documentation!”</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
2008-03-09 21:32:24 +00:00
|
|
|
<p>
|
|
|
|
|
Sphinx is a tool that makes it easy to create intelligent and beautiful
|
2008-11-06 10:35:55 +01:00
|
|
|
documentation, written by Georg Brandl and licensed under the BSD license.</p>
|
2011-01-07 22:07:15 +01:00
|
|
|
<p>It was originally created for <a href="http://docs.python.org/">the
|
2010-02-28 23:12:00 +01:00
|
|
|
new Python documentation</a>, and it has excellent facilities for the
|
|
|
|
|
documentation of Python projects, but C/C++ is already supported as well,
|
|
|
|
|
and it is planned to add special support for other languages as well. Of
|
|
|
|
|
course, this site is also created from reStructuredText sources using
|
2013-01-18 23:17:11 +01:00
|
|
|
Sphinx! The following features should be highlighted:
|
2008-03-09 21:32:24 +00:00
|
|
|
</p>
|
|
|
|
|
<ul>
|
2010-02-28 23:12:00 +01:00
|
|
|
<li><b>Output formats:</b> HTML (including Windows HTML Help), LaTeX (for
|
2013-01-18 23:17:11 +01:00
|
|
|
printable PDF versions), Texinfo, manual pages, plain text</li>
|
2008-03-09 21:32:24 +00:00
|
|
|
<li><b>Extensive cross-references:</b> semantic markup and automatic links
|
2010-02-28 23:12:00 +01:00
|
|
|
for functions, classes, citations, glossary terms and similar pieces of
|
|
|
|
|
information</li>
|
2008-03-09 21:32:24 +00:00
|
|
|
<li><b>Hierarchical structure:</b> easy definition of a document tree, with
|
2010-02-28 23:12:00 +01:00
|
|
|
automatic links to siblings, parents and children</li>
|
2013-01-18 23:17:11 +01:00
|
|
|
<li><b>Automatic indices:</b> general index as well as a language-specific
|
|
|
|
|
module indices</li>
|
2008-03-09 21:32:24 +00:00
|
|
|
<li><b>Code handling:</b> automatic highlighting using the <a
|
2010-02-28 23:12:00 +01:00
|
|
|
href="http://pygments.org">Pygments</a> highlighter</li>
|
2008-03-21 18:59:28 +00:00
|
|
|
<li><b>Extensions:</b> automatic testing of code snippets, inclusion of
|
2013-01-18 23:17:11 +01:00
|
|
|
docstrings from Python modules (API docs), and
|
2013-02-10 16:39:44 +04:00
|
|
|
<a href="{{ pathto('extensions') }}#builtin-sphinx-extensions">more</a></li>
|
2008-03-09 21:32:24 +00:00
|
|
|
</ul>
|
|
|
|
|
<p>
|
|
|
|
|
Sphinx uses <a href="http://docutils.sf.net/rst.html">reStructuredText</a>
|
|
|
|
|
as its markup language, and many of its strengths come from the power and
|
|
|
|
|
straightforwardness of reStructuredText and its parsing and translating
|
|
|
|
|
suite, the <a href="http://docutils.sf.net/">Docutils</a>.
|
|
|
|
|
</p>
|
|
|
|
|
|
2013-01-18 23:17:11 +01:00
|
|
|
<h2 style="margin-bottom: 0">Documentation</h2>
|
2009-11-08 18:20:53 +01:00
|
|
|
|
2008-03-09 21:32:24 +00:00
|
|
|
<table class="contentstable" align="center" style="margin-left: 30px"><tr>
|
|
|
|
|
<td width="50%">
|
2010-02-28 23:12:00 +01:00
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("tutorial") }}">First steps with Sphinx</a><br/>
|
|
|
|
|
<span class="linkdescr">overview of basic tasks</span></p>
|
Merged revisions 64703-64708,64710-64712 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x
........
r64703 | georg.brandl | 2008-07-04 19:24:00 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix linkcheck builder crash for malformed URLs.
........
r64704 | georg.brandl | 2008-07-04 19:32:40 +0200 (Fri, 04 Jul 2008) | 2 lines
Add 0.5 compatibility for more admonitions.
........
r64705 | georg.brandl | 2008-07-04 19:38:37 +0200 (Fri, 04 Jul 2008) | 2 lines
Remove silly "rubric" restriction in latex writer.
........
r64706 | georg.brandl | 2008-07-04 19:41:44 +0200 (Fri, 04 Jul 2008) | 2 lines
Document rubric:: Footnotes behavior.
........
r64707 | georg.brandl | 2008-07-04 19:45:28 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix XHTML.
........
r64708 | georg.brandl | 2008-07-04 19:50:56 +0200 (Fri, 04 Jul 2008) | 2 lines
More XHTML fixes.
........
r64710 | georg.brandl | 2008-07-04 19:59:56 +0200 (Fri, 04 Jul 2008) | 2 lines
Copy the html_logo to the output static dir.
........
r64711 | georg.brandl | 2008-07-04 20:37:43 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix latex code for module names with underscores that have platforms.
........
r64712 | georg.brandl | 2008-07-04 20:46:40 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix a crash with nonlocal image URIs.
........
2008-07-04 18:49:39 +00:00
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">Contents</a><br/>
|
2008-03-09 21:32:24 +00:00
|
|
|
<span class="linkdescr">for a complete overview</span></p>
|
2010-02-28 23:12:00 +01:00
|
|
|
</td><td width="50%">
|
Merged revisions 64703-64708,64710-64712 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x
........
r64703 | georg.brandl | 2008-07-04 19:24:00 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix linkcheck builder crash for malformed URLs.
........
r64704 | georg.brandl | 2008-07-04 19:32:40 +0200 (Fri, 04 Jul 2008) | 2 lines
Add 0.5 compatibility for more admonitions.
........
r64705 | georg.brandl | 2008-07-04 19:38:37 +0200 (Fri, 04 Jul 2008) | 2 lines
Remove silly "rubric" restriction in latex writer.
........
r64706 | georg.brandl | 2008-07-04 19:41:44 +0200 (Fri, 04 Jul 2008) | 2 lines
Document rubric:: Footnotes behavior.
........
r64707 | georg.brandl | 2008-07-04 19:45:28 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix XHTML.
........
r64708 | georg.brandl | 2008-07-04 19:50:56 +0200 (Fri, 04 Jul 2008) | 2 lines
More XHTML fixes.
........
r64710 | georg.brandl | 2008-07-04 19:59:56 +0200 (Fri, 04 Jul 2008) | 2 lines
Copy the html_logo to the output static dir.
........
r64711 | georg.brandl | 2008-07-04 20:37:43 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix latex code for module names with underscores that have platforms.
........
r64712 | georg.brandl | 2008-07-04 20:46:40 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix a crash with nonlocal image URIs.
........
2008-07-04 18:49:39 +00:00
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">Search page</a><br/>
|
2008-03-09 21:32:24 +00:00
|
|
|
<span class="linkdescr">search the documentation</span></p>
|
Merged revisions 64703-64708,64710-64712 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x
........
r64703 | georg.brandl | 2008-07-04 19:24:00 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix linkcheck builder crash for malformed URLs.
........
r64704 | georg.brandl | 2008-07-04 19:32:40 +0200 (Fri, 04 Jul 2008) | 2 lines
Add 0.5 compatibility for more admonitions.
........
r64705 | georg.brandl | 2008-07-04 19:38:37 +0200 (Fri, 04 Jul 2008) | 2 lines
Remove silly "rubric" restriction in latex writer.
........
r64706 | georg.brandl | 2008-07-04 19:41:44 +0200 (Fri, 04 Jul 2008) | 2 lines
Document rubric:: Footnotes behavior.
........
r64707 | georg.brandl | 2008-07-04 19:45:28 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix XHTML.
........
r64708 | georg.brandl | 2008-07-04 19:50:56 +0200 (Fri, 04 Jul 2008) | 2 lines
More XHTML fixes.
........
r64710 | georg.brandl | 2008-07-04 19:59:56 +0200 (Fri, 04 Jul 2008) | 2 lines
Copy the html_logo to the output static dir.
........
r64711 | georg.brandl | 2008-07-04 20:37:43 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix latex code for module names with underscores that have platforms.
........
r64712 | georg.brandl | 2008-07-04 20:46:40 +0200 (Fri, 04 Jul 2008) | 2 lines
Fix a crash with nonlocal image URIs.
........
2008-07-04 18:49:39 +00:00
|
|
|
<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">General Index</a><br/>
|
2008-03-09 21:32:24 +00:00
|
|
|
<span class="linkdescr">all functions, classes, terms</span></p>
|
|
|
|
|
</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
2010-02-28 23:12:00 +01:00
|
|
|
<p>
|
|
|
|
|
You can also download PDF versions of the Sphinx documentation:
|
2012-11-04 11:28:12 +01:00
|
|
|
a <a href="http://sphinx-doc.org/sphinx.pdf">version</a> generated from
|
2010-02-28 23:12:00 +01:00
|
|
|
the LaTeX Sphinx produces, and
|
2012-11-04 11:28:12 +01:00
|
|
|
a <a href="http://sphinx-doc.org/sphinx-rst2pdf.pdf">version</a> generated
|
2010-02-28 23:12:00 +01:00
|
|
|
by rst2pdf.
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<h2>Examples</h2>
|
|
|
|
|
<p>Links to documentation generated with Sphinx can be found on the
|
|
|
|
|
<a href="{{ pathto("examples") }}">Projects using Sphinx</a> page.
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
For examples of how Sphinx source files look, use the “Show
|
|
|
|
|
source” links on all pages of the documentation apart from this
|
|
|
|
|
welcome page.
|
|
|
|
|
</p>
|
|
|
|
|
|
2009-11-08 19:36:16 +01:00
|
|
|
<p>You may also be interested in the very nice
|
|
|
|
|
<a href="http://matplotlib.sourceforge.net/sampledoc/">tutorial</a> on how to
|
|
|
|
|
create a customized documentation using Sphinx written by the matplotlib
|
|
|
|
|
developers.</p>
|
|
|
|
|
|
2010-05-22 14:21:01 +02:00
|
|
|
<p>There is a <a href="http://sphinx-users.jp/doc10/">Japanese translation</a>
|
2009-11-08 19:36:16 +01:00
|
|
|
of this documentation, thanks to Yoshiki Shibukawa.</p>
|
|
|
|
|
|
2008-03-21 15:31:32 +00:00
|
|
|
{% endblock %}
|