]> gitweb.michael.orlitzky.com - dunshire.git/blob - doc/source/conf.py
24586ec7de98051fff4c8251bca10fdd8017e47d
[dunshire.git] / doc / source / conf.py
1 #!/usr/bin/env python3
2
3 import sys
4 import os
5 import shlex
6
7 # If extensions (or modules to document with autodoc) are in another directory,
8 # add these directories to sys.path here. If the directory is relative to the
9 # documentation root, use os.path.abspath to make it absolute, like shown here.
10 sys.path.insert(0, os.path.abspath('../../'))
11
12 # Add any Sphinx extension module names here, as strings. They can be
13 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
14 # ones.
15 extensions = [
16 'sphinx.ext.autodoc',
17 'sphinx.ext.doctest',
18 'sphinx.ext.mathjax',
19 'sphinx.ext.napoleon',
20 'sphinx.ext.viewcode',
21 ]
22
23 # Don't automatically test every >>> block in the documentation. This
24 # avoids testing the API docs as part of the documentation build,
25 # which is exactly what we intend, because those are tested as part of
26 # the (much faster) unittest test suite.
27 doctest_test_doctest_blocks = ''
28
29 # The suffix(es) of source filenames.
30 # You can specify multiple suffix as a list of string:
31 # source_suffix = ['.rst', '.md']
32 source_suffix = '.rst'
33
34 # The master toctree document.
35 master_doc = 'index'
36
37 # General information about the project.
38 project = 'Dunshire'
39 copyright = '2016, Michael Orlitzky'
40 author = 'Michael Orlitzky'
41
42 # The short X.Y version.
43 version = '0.1.0'
44
45 # The full version, including alpha/beta/rc tags.
46 release = '0.1.0'
47
48 # The language for content autogenerated by Sphinx. Refer to documentation
49 # for a list of supported languages.
50 #
51 # This is also used if you do content translation via gettext catalogs.
52 # Usually you set "language" from the command line for these cases.
53 language = None
54
55 # List of patterns, relative to source directory, that match files and
56 # directories to ignore when looking for source files.
57 exclude_patterns = []
58
59 # The name of the Pygments (syntax highlighting) style to use.
60 pygments_style = 'sphinx'
61
62 # If true, keep warnings as "system message" paragraphs in the built documents.
63 #keep_warnings = False
64
65 # If true, `todo` and `todoList` produce output, else they produce nothing.
66 todo_include_todos = False
67
68
69 # -- Options for HTML output ----------------------------------------------
70
71 # The theme to use for HTML and HTML Help pages. See the documentation for
72 # a list of builtin themes.
73 html_theme = 'alabaster'
74
75 # Remove the search box from the default list of sidebars.
76 html_sidebars = {
77 '**': [
78 'about.html',
79 'navigation.html'
80 ]
81 }
82
83 # http://alabaster.readthedocs.io/en/latest/customization.html#theme-options
84 html_theme_options = {
85 'github_button': False,
86 'github_user': False,
87 'github_repo': False,
88 'show_powered_by': False
89 }
90
91 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
92 # using the given strftime format.
93 html_last_updated_fmt = ''
94
95 # If false, no index is generated.
96 #html_use_index = True
97
98 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
99 html_show_sphinx = False
100
101 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
102 html_show_copyright = False
103
104 # This is the file name suffix for HTML files (e.g. ".xhtml").
105 html_file_suffix = ".xhtml"
106
107 # The name of a javascript file (relative to the configuration directory) that
108 # implements a search results scorer. If empty, the default will be used.
109 #html_search_scorer = 'scorer.js'
110
111 # Output file base name for HTML help builder.
112 htmlhelp_basename = 'dunshiredoc'
113
114 # -- Options for LaTeX output ---------------------------------------------
115
116 latex_elements = {
117 'preamble' : '\usepackage{amsfonts,amssymb}',
118 'printindex' : ''
119 }
120
121 # Grouping the document tree into LaTeX files. List of tuples
122 # (source start file, target name, title,
123 # author, documentclass [howto, manual, or own class]).
124 latex_documents = [
125 (master_doc, 'dunshire.tex', project + ' Documentation',
126 author, 'manual'),
127 ]
128
129 # -- Options for manual page output ---------------------------------------
130
131 # One entry per manual page. List of tuples
132 # (source start file, name, description, authors, manual section).
133 man_pages = [
134 (master_doc, project, project + ' Documentation',
135 [author], 1)
136 ]
137
138 # If true, show URL addresses after external links.
139 #man_show_urls = False
140
141
142 # -- Options for Texinfo output -------------------------------------------
143
144 # Grouping the document tree into Texinfo files. List of tuples
145 # (source start file, target name, title, author,
146 # dir menu entry, description, category)
147 texinfo_documents = [
148 (master_doc, project, project + ' Documentation',
149 author, 'derp', 'One line description of project.',
150 'Miscellaneous'),
151 ]