diff options
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/api/conf.py | 14 | ||||
-rwxr-xr-x | docs/source/generate_commands.py | 4 |
2 files changed, 11 insertions, 7 deletions
diff --git a/docs/source/api/conf.py b/docs/source/api/conf.py index 54b31e07..c1673859 100644 --- a/docs/source/api/conf.py +++ b/docs/source/api/conf.py @@ -3,7 +3,8 @@ # alot documentation build configuration file, created by # sphinx-quickstart on Tue Aug 9 15:00:51 2011. # -# This file is execfile()d with the current directory set to its containing dir. +# This file is execfile()d with the current directory set to its +# containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. @@ -55,8 +56,9 @@ from alot import __version__,__author__ # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' -# Add any Sphinx extension module names here, as strings. They can be extensions -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] # Add any paths that contain templates here, relative to this directory. @@ -98,7 +100,8 @@ release = __version__ # directories to ignore when looking for source files. exclude_patterns = ['_build'] -# The reST default role (used for this markup: `text`) to use for all documents. +# The reST default role (used for this markup: `text`) to use for all +# documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. @@ -208,7 +211,8 @@ htmlhelp_basename = 'alotdoc' #latex_font_size = '10pt' # Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass [howto/manual]). +# (source start file, target name, title, author, documentclass +# [howto/manual]). latex_documents = [ ('index', 'alot.tex', u'alot Documentation', u'Patrick Totzke', 'manual'), diff --git a/docs/source/generate_commands.py b/docs/source/generate_commands.py index 4ead8c11..5eda4978 100755 --- a/docs/source/generate_commands.py +++ b/docs/source/generate_commands.py @@ -65,8 +65,8 @@ def rstify_parser(parser): for index, a in enumerate(parser._positionals._group_actions): out += " %s: %s" % (index, a.help) if a.choices: - out += ". valid choices are: %s." % ','.join(['\`%s\`' % s for s - in a.choices]) + out += ". valid choices are: %s." % ','.join( + ['\`%s\`' % s for s in a.choices]) if a.default: out += ". defaults to: '%s'." % a.default out += '\n' |