1# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4; encoding:utf8 -*-
2#
3# Configuration file for the Sphinx documentation builder.
4#
5# This file only contains a selection of the most common options. For a full
6# list see the documentation:
7# http://www.sphinx-doc.org/en/master/config
8
9# -- Path setup --------------------------------------------------------------
10
11# If extensions (or modules to document with autodoc) are in another directory,
12# add these directories to sys.path here. If the directory is relative to the
13# documentation root, use os.path.abspath to make it absolute, like shown here.
14import sys
15sys.path.insert(0, '/Users/ken/workspace/duplicity-src8/testing')
16sys.path.insert(0, '/Users/ken/workspace/duplicity-src8/duplicity')
17sys.path.insert(0, '/Users/ken/workspace/duplicity-src8/bin')
18sys.path.insert(0, '/Users/ken/workspace/duplicity-src8')
19
20
21# -- Project information -----------------------------------------------------
22
23project = 'duplicity'
24copyright = '2020, Kenneth Loafman'  # pylint: disable=redefined-builtin
25author = 'Kenneth Loafman'
26
27
28# -- General configuration ---------------------------------------------------
29
30# Add any Sphinx extension module names here, as strings. They can be
31# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32# ones.
33extensions = [
34    'sphinx.ext.autodoc',
35    'sphinx.ext.viewcode',
36    'sphinx.ext.todo',
37]
38
39# Add any paths that contain templates here, relative to this directory.
40templates_path = ['_templates']
41
42# The language for content autogenerated by Sphinx. Refer to documentation
43# for a list of supported languages.
44#
45# This is also used if you do content translation via gettext catalogs.
46# Usually you set "language" from the command line for these cases.
47language = 'en'
48
49# List of patterns, relative to source directory, that match files and
50# directories to ignore when looking for source files.
51# This pattern also affects html_static_path and html_extra_path.
52exclude_patterns = [
53    '_build',
54    'Thumbs.db',
55    '.DS_Store',
56    'setup.py',
57]
58
59
60# -- Options for HTML output -------------------------------------------------
61
62# The document name of the “master” document, that is, the document that
63# contains the root toctree directive. Default is 'index' now, however,
64# 'content' is still used at readthedocs.
65master_doc = 'index'
66
67# The theme to use for HTML and HTML Help pages.  See the documentation for
68# a list of builtin themes.
69html_theme = 'alabaster'
70
71# Add any paths that contain custom static files (such as style sheets) here,
72# relative to this directory. They are copied after the builtin static files,
73# so a file named "default.css" will overwrite the builtin "default.css".
74html_static_path = ['_static']
75
76
77# -- Extension configuration -------------------------------------------------
78
79# -- Options for todo extension ----------------------------------------------
80
81# If true, `todo` and `todoList` produce output, else they produce nothing.
82todo_include_todos = True
83