summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-03-22 23:17:08 +0000
committerStephen Finucane <stephen@that.guru>2017-04-18 22:08:25 +0100
commit52947db28dab34aaa2cd9bd8d20ff6a824471646 (patch)
treec4fc13341c82316514bd940d583d223c69dc1c14 /docs/conf.py
parent9cfac5dbd7742622f3a6f59329c11b879f626f11 (diff)
downloadpatchwork-52947db28dab34aaa2cd9bd8d20ff6a824471646.tar
patchwork-52947db28dab34aaa2cd9bd8d20ff6a824471646.tar.gz
docs: Add skeleton for Sphinx docs
This is mostly the output of 'sphinx-quickstart' with all non-HTML build cruft removed and Sphinx minimum version set to 1.5. A tox target is included and the output of the docs build ignored. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py60
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 0000000..a46bea0
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+#
+# Patchwork documentation build configuration file
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#
+needs_sphinx = '1.5'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = []
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = []
+
+# The suffix(es) of source filenames.
+# You can specify multiple suffix as a list of string:
+#
+# source_suffix = ['.rst', '.md']
+source_suffix = '.rst'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'Patchwork'
+copyright = u'2017, Stephen Finucane'
+author = u'Stephen Finucane'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# TODO(stephenfin): Eventually this should read the version programmatically
+#
+# The short X.Y version.
+version = u'2.0-alpha'
+# The full version, including alpha/beta/rc tags.
+release = u'2.0-alpha'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# This is also used if you do content translation via gettext catalogs.
+# Usually you set "language" from the command line for these cases.
+language = None
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+# This patterns also effect to html_static_path and html_extra_path
+exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# If true, `todo` and `todoList` produce output, else they produce nothing.
+todo_include_todos = False