|
3 | 3 | # This file only contains a selection of the most common options. For a full
|
4 | 4 | # list see the documentation:
|
5 | 5 | # https://www.sphinx-doc.org/en/master/usage/configuration.html
|
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('.')) |
16 |
| - |
| 6 | +from datetime import datetime |
17 | 7 |
|
18 | 8 | # -- Project information -----------------------------------------------------
|
19 | 9 |
|
20 | 10 | project = 'printree'
|
21 |
| -copyright = '2020, Christian López Barrón' |
| 11 | +copyright = f'{datetime.now().year}, Christian López Barrón' |
22 | 12 | author = 'Christian López Barrón'
|
23 | 13 |
|
24 | 14 | # The full version, including alpha/beta/rc tags
|
25 |
| -release = '0.1.0' |
| 15 | +release = '0.2.1' |
26 | 16 |
|
27 | 17 |
|
28 | 18 | # -- General configuration ---------------------------------------------------
|
29 | 19 |
|
30 | 20 | # Add any Sphinx extension module names here, as strings. They can be
|
31 | 21 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
32 | 22 | # ones.
|
33 |
| -extensions = ['sphinx.ext.autodoc', |
34 |
| - 'sphinx.ext.doctest', |
35 |
| - 'sphinx.ext.intersphinx', |
36 |
| - # 'sphinx.ext.todo', |
37 |
| - # 'sphinx.ext.coverage', |
38 |
| - # 'sphinx.ext.imgmath', |
39 |
| - # 'sphinx.ext.ifconfig', |
40 |
| - 'sphinx.ext.viewcode', |
41 |
| - # 'sphinx.ext.githubpages', |
42 |
| - 'sphinx.ext.graphviz', |
43 |
| - 'sphinx.ext.inheritance_diagram', |
44 |
| - 'm2r2', |
45 |
| - 'sphinx_autodoc_typehints'] |
| 23 | +extensions = [ |
| 24 | + 'sphinx.ext.autodoc', |
| 25 | + 'sphinx.ext.doctest', |
| 26 | + 'sphinx.ext.intersphinx', |
| 27 | + 'sphinx.ext.viewcode', |
| 28 | + 'sphinx.ext.graphviz', |
| 29 | + 'sphinx.ext.inheritance_diagram', |
| 30 | + 'myst_parser', |
| 31 | + 'sphinx_autodoc_typehints', |
| 32 | +] |
46 | 33 |
|
47 | 34 | # Add any paths that contain templates here, relative to this directory.
|
48 |
| -templates_path = ['_templates'] |
| 35 | +# templates_path = ['_templates'] |
49 | 36 |
|
50 | 37 | # List of patterns, relative to source directory, that match files and
|
51 | 38 | # directories to ignore when looking for source files.
|
|
64 | 51 | # Add any paths that contain custom static files (such as style sheets) here,
|
65 | 52 | # relative to this directory. They are copied after the builtin static files,
|
66 | 53 | # so a file named "default.css" will overwrite the builtin "default.css".
|
67 |
| -html_static_path = ['_static'] |
| 54 | +# html_static_path = ['_static'] |
68 | 55 |
|
69 |
| -intersphinx_mapping = {'https://docs.python.org/3': None} |
| 56 | +intersphinx_mapping = { |
| 57 | + 'python': ('https://docs.python.org/3', None), |
| 58 | +} |
0 commit comments