Add a bit more content to the reST primer, and add links to the reST reference docs for all constructs.

This commit is contained in:
Georg Brandl
2010-02-28 17:24:55 +01:00
parent f37588d87f
commit 0feb7dacf2
3 changed files with 112 additions and 42 deletions

View File

@@ -6,7 +6,7 @@ import re
import sphinx
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo',
'sphinx.ext.autosummary']
'sphinx.ext.autosummary', 'sphinx.ext.extlinks']
master_doc = 'contents'
templates_path = ['_templates']
@@ -49,6 +49,10 @@ latex_elements = {
autodoc_member_order = 'groupwise'
todo_include_todos = True
extlinks = {'rstref': ('http://docutils.sourceforge.net/docs/ref/rst/'
'restructuredtext.html#%s', ''),
'rstdir': ('http://docutils.sourceforge.net/docs/ref/rst/'
'directives.html#%s', '')}
man_pages = [
('contents', 'sphinx-all', 'Sphinx documentation generator system manual',