1
|
|
|
# Configuration file for the Sphinx documentation builder. |
2
|
|
|
# |
3
|
|
|
# This file only contains a selection of the most common options. For a full |
4
|
|
|
# list see the documentation: |
5
|
|
|
# http://www.sphinx-doc.org/en/master/config |
6
|
|
|
|
7
|
|
|
# -- Path setup -------------------------------------------------------------- |
8
|
|
|
|
9
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
10
|
|
|
# add these directories to sys.path here. If the directory is relative to the |
11
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here. |
12
|
|
|
# |
13
|
|
|
import os |
14
|
|
|
import sys |
15
|
|
|
|
16
|
|
|
sys.path.insert(0, os.path.abspath(".")) |
17
|
|
|
sys.path.insert(0, os.path.abspath("../")) |
18
|
|
|
sys.path.insert(0, os.path.abspath("../aws_alb_oauth_proxy")) |
19
|
|
|
|
20
|
|
|
|
21
|
|
|
# -- Project information ----------------------------------------------------- |
22
|
|
|
|
23
|
|
|
project = "AWS ALB OAuth proxy" |
24
|
|
|
copyright = "2019, Vlad Vasiliu" |
25
|
|
|
author = "Vlad Vasiliu" |
26
|
|
|
|
27
|
|
|
# The full version, including alpha/beta/rc tags |
28
|
|
|
release = "0.1" |
29
|
|
|
|
30
|
|
|
|
31
|
|
|
# -- General configuration --------------------------------------------------- |
32
|
|
|
|
33
|
|
|
# Add any Sphinx extension module names here, as strings. They can be |
34
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
35
|
|
|
# ones. |
36
|
|
|
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_autodoc_typehints"] |
37
|
|
|
|
38
|
|
|
# Add any paths that contain templates here, relative to this directory. |
39
|
|
|
templates_path = ["_templates"] |
40
|
|
|
|
41
|
|
|
# List of patterns, relative to source directory, that match files and |
42
|
|
|
# directories to ignore when looking for source files. |
43
|
|
|
# This pattern also affects html_static_path and html_extra_path. |
44
|
|
|
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
45
|
|
|
|
46
|
|
|
trim_footnote_reference_space = True |
47
|
|
|
master_doc = "index" |
48
|
|
|
|
49
|
|
|
|
50
|
|
|
# -- Options for HTML output ------------------------------------------------- |
51
|
|
|
|
52
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for |
53
|
|
|
# a list of builtin themes. |
54
|
|
|
# |
55
|
|
|
html_theme = "sphinx_rtd_theme" |
56
|
|
|
|
57
|
|
|
html_theme_options = {"analytics_id": "UA-140856341-1"} |
58
|
|
|
|
59
|
|
|
|
60
|
|
|
# Add any paths that contain custom static files (such as style sheets) here, |
61
|
|
|
# relative to this directory. They are copied after the builtin static files, |
62
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css". |
63
|
|
|
# html_static_path = ['_static'] |
64
|
|
|
|
65
|
|
|
|
66
|
|
|
# -- Options for autodoc ----------------------------------------------------- |
67
|
|
|
|
68
|
|
|
autodoc_default_options = {"member-order": "bysource", "private-members": True, "undoc-members": True} |
69
|
|
|
|