Release 0.8.0
[pylit.git] / doc / conf.py
blobd6297653ff30ec6c19f2d13ed47d7bb5f85ee38c
1 # conf.py -- Sphinx configuration for PyLit
2 # =========================================
4 # Documentation build configuration file
6 # This file is execfile()d with the current directory set to its containing
7 # dir.
9 # The contents of this file are pickled, so don't put values in the namespace
10 # that aren't pickleable (module imports are okay, they're removed
11 # automatically).
13 # All configuration values have a default value; values that are commented out
14 # serve to show the default value.
16 # You can use the following modules in your definitions (or add more)::
18 import sys, os
20 # If your extensions are in another directory, add it here. If the directory
21 # is relative to the documentation root, use ``os.path.abspath`` to make it
22 # absolute, like shown here::
24 #sys.path.append(os.path.abspath('some/directory'))
26 # General configuration
27 # ---------------------
29 # Add any Sphinx extension module names here, as strings. They can be extensions
30 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. ::
32 extensions = []
34 # Add any paths that contain templates here, relative to this directory::
36 templates_path = ['.templates']
38 # The suffix of source filenames::
40 source_suffix = '.txt'
42 # The master toctree document::
44 master_doc = 'index'
46 # General substitutions::
48 project = 'PyLit'
49 copyright = u'2009, 2022 Günter Milde'
51 # The default replacements for ``|version|`` and ``|release|``, also used in
52 # various other places throughout the built documents.
53 # ::
55 # The short X.Y version.
56 version = '0.8.0'
57 # The full version, including alpha/beta/rc tags.
58 release = '0.8.0'
60 # There are two options for replacing ``|today|``: either, you set today to
61 # some non-false value, then it is used::
63 #today = ''
65 # Else, today_fmt is used as the format for a strftime call::
67 today_fmt = '%B %d, %Y'
69 # List of documents that shouldn't be included in the build::
71 #unused_docs = ["rstdocs/download/index.txt", "tutorial/*.py.txt"]
73 # A list of glob-style patterns that should be excluded when looking for
74 # source files. [1] They are matched against the source file names relative
75 # to the source directory, using slashes as directory separators on all
76 # platforms.
78 exclude_patterns = ['filename-extensions.txt',
79 '**/hello_with_doctest.py.txt']
81 # The name of the default domain. Can also be None to disable a default
82 # domain. The default is 'py'. Those objects in other domains (whether the
83 # domain name is given explicitly, or selected by a default-domain directive)
84 # require the domain name explicitly prepended when named. ::
86 #primary_domain = 'py'
87 primary_domain = None
90 # The reST default role (used for this markup: ```text```) to use for all
91 # documents::
93 #default_role = None
95 # If true, '()' will be appended to :func: etc. cross-reference text. ::
97 add_function_parentheses = True
99 # If true, the current module name will be prepended to all description
100 # unit titles (such as .. function::) ::
102 #add_module_names = True
104 # If true, sectionauthor and moduleauthor directives will be shown in the
105 # output. They are ignored by default. ::
107 #show_authors = False
109 # The name of the Pygments (syntax highlighting) style to use.
110 # Can be any registered pygments-style or 'sphinx'.
112 # >>> from pygments.styles import STYLE_MAP
113 # >>> STYLE_MAP.keys()
114 # ['manni', 'perldoc', 'borland', 'colorful', 'default', 'murphy', 'trac',
115 # 'fruity', 'autumn', 'bw', 'emacs', 'pastie', 'friendly', 'native']
117 # You can try the styles with the `pygments demo <http://pygments.org/demo/>`_
118 # pages that offer a drop-down list to select the style.
119 # ::
121 #pygments_style = 'sphinx'
122 pygments_style = 'friendly'
124 # Options for HTML output
125 # -----------------------
127 # The style sheet to use for HTML and HTML Help pages. A file of that name
128 # must exist either in Sphinx' static/ path, or in one of the custom paths
129 # given in html_static_path::
131 html_style = 'pylit-sphinx.css'
132 #html_style = 'default.css'
134 # Options to the theme, like a sidebar that is visible even when
135 # scrolling (TODO: how to get this to work (maybe just update Spinx)?)::
137 #html_theme_options = {'stickysidebar': 'true'}
139 # The name for this set of Sphinx documents. If None, it defaults to
140 # "<project> v<release> documentation". ::
142 html_title = "PyLit"
144 # A shorter title for the navigation bar. Default is the same as html_title.
145 # ::
147 html_short_title = "Home"
149 # The name of an image file (within the static path) to place at the top of
150 # the sidebar.
151 # Korrektion [GM]: path is relative to source (not static)
152 # (Bug or config issue?).
153 # ::
155 html_logo = "logo/pylit-bold-framed.png"
156 # html_logo = "pylit-bold-framed.svg"
158 # Add any paths that contain custom static files (such as style sheets) here,
159 # relative to this directory. They are copied after the builtin static files,
160 # so a file named "default.css" will overwrite the builtin "default.css".
161 # ::
163 html_static_path = ['_static']
165 # The name of an image file (path relative to the configuration directory) to
166 # use as favicon of the docs. This file should be a Windows icon file (.ico)
167 # being 16x16 or 32x32 pixels large. ::
169 html_favicon = "_static/favicon.ico"
171 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
172 # using the given strftime format::
174 html_last_updated_fmt = '%b %d, %Y'
176 # If true, SmartyPants will be used to convert quotes and dashes to
177 # typographically correct entities::
179 html_use_smartypants = True
181 # Custom sidebar templates, maps document names to template names::
183 #html_sidebars = {}
185 # Additional templates that should be rendered to pages, maps page names to
186 # template names::
188 #html_additional_pages = {}
190 # If false, no module index is generated::
192 html_use_modindex = False
194 # If false, no index is generated::
196 html_use_index = False
198 # If true, the index is split into individual pages for each letter::
200 #html_split_index = False
202 # If true, the reST sources are included in the HTML build as _sources/<name>.
203 # (needed for the search feature)::
205 #html_copy_source = True
207 # If true, an OpenSearch description file will be output, and all pages will
208 # contain a <link> tag referring to it. The value of this option must be the
209 # base URL from which the finished HTML is served. ::
211 #html_use_opensearch = ''
213 # If nonempty, this is the file name suffix for HTML files
214 # (e.g. ".xhtml" for correct MathML rendering in Firefox)::
216 #html_file_suffix = ''
218 # Output file base name for HTML help builder::
220 htmlhelp_basename = 'PyLit-doc'
222 # Delimiter in the relbar: Fallback: ' &raquo;' ::
224 reldelim1 = ' / '
226 # Options for LaTeX output
227 # ------------------------
229 # The paper size ('letter' or 'a4')::
231 #latex_paper_size = 'letter'
233 # The font size ('10pt', '11pt' or '12pt')::
235 #latex_font_size = '10pt'
237 # Grouping the document tree into LaTeX files. List of tuples (source start
238 # file, target name, title, author, document class [howto/manual])::
240 latex_documents = [
241 ('index', 'PyLit.tex', 'PyLit Documentation',
242 u'Günter Milde', 'manual'),
245 # The name of an image file (relative to this directory) to place at the top
246 # of the title page::
248 #latex_logo = None
250 # For "manual" documents, if this is true, then toplevel headings are parts,
251 # not chapters::
253 #latex_use_parts = False
255 # Additional stuff for the LaTeX preamble::
257 #latex_preamble = ''
259 # Documents to append as an appendix to all manuals::
261 #latex_appendices = []
263 # If false, no module index is generated::
265 #latex_use_modindex = True