|
8 | 8 | import os
|
9 | 9 | import sys
|
10 | 10 |
|
11 |
| -project = 'typed_python' |
12 |
| -copyright = '2022, Braxton McKee' |
13 |
| -author = 'Braxton McKee' |
14 |
| -release = '0.2.6' |
| 11 | +project = "typed_python" |
| 12 | +copyright = "2022, Braxton McKee" |
| 13 | +author = "Braxton McKee" |
| 14 | +release = "0.2.6" |
15 | 15 |
|
16 | 16 | # -- General configuration ---------------------------------------------------
|
17 | 17 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
18 | 18 |
|
19 |
| -extensions = ['myst_parser', |
20 |
| - 'sphinx.ext.autodoc', |
21 |
| - 'sphinx.ext.napoleon', |
22 |
| - 'sphinx.ext.viewcode' |
23 |
| - ] |
| 19 | +extensions = [ |
| 20 | + "myst_parser", |
| 21 | + "sphinx.ext.autodoc", |
| 22 | + "sphinx.ext.napoleon", |
| 23 | + "sphinx.ext.viewcode", |
| 24 | +] |
24 | 25 |
|
25 |
| -templates_path = ['_templates'] |
26 |
| -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 26 | +source_suffix = { |
| 27 | + ".rst": "restructuredtext", |
| 28 | + ".md": "markdown", |
| 29 | +} |
| 30 | + |
| 31 | +templates_path = ["_templates"] |
| 32 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
27 | 33 |
|
28 | 34 | # -- Options for HTML output -------------------------------------------------
|
29 | 35 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
30 | 36 |
|
31 |
| -html_theme = 'sphinx_book_theme' |
32 |
| -html_static_path = ['_static'] |
| 37 | +html_theme = "sphinx_book_theme" |
| 38 | +html_static_path = ["_static"] |
33 | 39 |
|
34 |
| -sys.path.insert(0, os.path.abspath('..')) |
| 40 | +sys.path.insert(0, os.path.abspath("..")) |
0 commit comments