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