|
1 | | -# Configuration file for the Sphinx documentation builder. |
2 | | -# |
3 | | -# This file does only contain a selection of the most common options. For a |
4 | | -# full 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 | | -# sys.path.insert(0, os.path.abspath('.')) |
| 1 | +""" |
| 2 | +Configuration file for the Sphinx documentation builder. |
16 | 3 |
|
| 4 | +This file does only contain a selection of the most common options. For a |
| 5 | +full list see the documentation: |
| 6 | +http://www.sphinx-doc.org/en/master/config |
| 7 | +
|
| 8 | +-- Path setup -------------------------------------------------------------- |
| 9 | +
|
| 10 | +If extensions (or modules to document with autodoc) are in another directory, |
| 11 | +add these directories to sys.path here. If the directory is relative to the |
| 12 | +documentation root, use os.path.abspath to make it absolute, like shown here. |
| 13 | +
|
| 14 | +import os |
| 15 | +import sys |
| 16 | +sys.path.insert(0, os.path.abspath('.')) |
| 17 | +""" |
17 | 18 | import datetime |
| 19 | + |
18 | 20 | from wagtailcache import __shortversion__ |
19 | 21 |
|
20 | 22 |
|
|
23 | 25 | project = "wagtail-cache" |
24 | 26 | author = "CodeRed LLC" |
25 | 27 | copyright = f"2018–{str(datetime.datetime.now().year)}, {author}" |
26 | | - |
27 | 28 | # The short X.Y version |
28 | 29 | version = __shortversion__ |
29 | 30 | # The full version, including alpha/beta/rc tags |
30 | 31 | release = __shortversion__ |
31 | | - |
32 | | - |
33 | 32 | # -- General configuration --------------------------------------------------- |
34 | | - |
35 | 33 | source_suffix = ".rst" |
36 | 34 |
|
37 | 35 | master_doc = "index" |
38 | 36 |
|
39 | 37 | language = "en" |
40 | 38 |
|
41 | 39 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
42 | | - |
43 | 40 | # Add any paths that contain templates here, relative to this directory. |
44 | 41 | templates_path = ["_templates"] |
45 | 42 |
|
46 | 43 | extensions = ["sphinx_wagtail_theme"] |
47 | | - |
48 | | - |
49 | 44 | # -- Options for HTML output ------------------------------------------------- |
50 | | - |
51 | 45 | html_show_sourcelink = False |
52 | 46 |
|
53 | 47 | html_theme = "sphinx_wagtail_theme" |
|
0 commit comments