|
12 | 12 | # |
13 | 13 | import os |
14 | 14 | import sys |
15 | | -sys.path.insert(0, os.path.abspath('../../casefy')) |
| 15 | + |
| 16 | +sys.path.insert(0, os.path.abspath("../../casefy")) |
16 | 17 |
|
17 | 18 | # -- Project information ----------------------------------------------------- |
18 | 19 |
|
19 | | -project = 'Casefy' |
20 | | -copyright = '2022, Diego Miguel Lozano' |
21 | | -author = 'Diego Miguel Lozano' |
| 20 | +project = "Casefy" |
| 21 | +copyright = "2022, Diego Miguel Lozano" |
| 22 | +author = "Diego Miguel Lozano" |
22 | 23 |
|
23 | 24 | # The full version, including alpha/beta/rc tags |
24 | | -release = '0.1.2' |
| 25 | +release = "0.1.2" |
25 | 26 |
|
26 | 27 |
|
27 | 28 | # -- General configuration --------------------------------------------------- |
28 | 29 |
|
29 | 30 | # Add any Sphinx extension module names here, as strings. They can be |
30 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
31 | 32 | # ones. |
32 | | -extensions = [ |
33 | | - 'sphinx.ext.autodoc', |
34 | | - 'sphinx.ext.napoleon' |
35 | | -] |
| 33 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon"] |
36 | 34 |
|
37 | 35 | # Add any paths that contain templates here, relative to this directory. |
38 | | -templates_path = ['_templates'] |
| 36 | +templates_path = ["_templates"] |
39 | 37 |
|
40 | 38 | # The language for content autogenerated by Sphinx. Refer to documentation |
41 | 39 | # for a list of supported languages. |
42 | 40 | # |
43 | 41 | # This is also used if you do content translation via gettext catalogs. |
44 | 42 | # Usually you set "language" from the command line for these cases. |
45 | | -language = 'en' |
| 43 | +language = "en" |
46 | 44 |
|
47 | 45 | # List of patterns, relative to source directory, that match files and |
48 | 46 | # directories to ignore when looking for source files. |
49 | 47 | # This pattern also affects html_static_path and html_extra_path. |
50 | | -exclude_patterns = ['requirements.txt'] |
| 48 | +exclude_patterns = ["requirements.txt"] |
51 | 49 |
|
52 | 50 | source_suffix = { |
53 | | - '.rst': 'restructuredtext', |
| 51 | + ".rst": "restructuredtext", |
54 | 52 | # '.txt': 'markdown', |
55 | 53 | # '.md': 'markdown', |
56 | 54 | } |
|
60 | 58 | # The theme to use for HTML and HTML Help pages. See the documentation for |
61 | 59 | # a list of builtin themes. |
62 | 60 | # |
63 | | -html_theme = 'sphinx_rtd_theme' |
64 | | -html_baseurl = 'dmlls.github.io/casefy' |
| 61 | +html_theme = "sphinx_rtd_theme" |
| 62 | +html_baseurl = "dmlls.github.io/casefy" |
65 | 63 | numfig = True |
66 | 64 |
|
67 | | -html_logo = '_static/images/cover_mono.png' |
68 | | -html_favicon = '_static/images/favicon.png' |
| 65 | +html_logo = "_static/images/cover_mono.png" |
| 66 | +html_favicon = "_static/images/favicon.png" |
69 | 67 |
|
70 | 68 | html_context = { |
71 | | - 'display_github': True, |
72 | | - 'github_user': 'dmlls', |
73 | | - 'github_repo': 'casefy', |
74 | | - 'github_version': 'main/docs/source/', |
| 69 | + "display_github": True, |
| 70 | + "github_user": "dmlls", |
| 71 | + "github_repo": "casefy", |
| 72 | + "github_version": "main/docs/source/", |
75 | 73 | } |
76 | 74 |
|
77 | 75 | # Add any paths that contain custom static files (such as style sheets) here, |
78 | 76 | # relative to this directory. They are copied after the builtin static files, |
79 | 77 | # so a file named "default.css" will overwrite the builtin "default.css". |
80 | | -html_static_path = ['_static'] |
| 78 | +html_static_path = ["_static"] |
0 commit comments