|
23 | 23 | # ones. |
24 | 24 | extensions = [ |
25 | 25 | 'sphinx.ext.githubpages', |
| 26 | + 'sphinx.ext.doctest', |
26 | 27 | 'sphinx_design', |
27 | 28 | 'sphinx_copybutton', |
28 | 29 | 'sphinx_last_updated_by_git', |
|
45 | 46 | # produce any output in the built files. |
46 | 47 | show_authors = True |
47 | 48 |
|
| 49 | +# Keep warnings as “system message” paragraphs in the rendered documents. |
| 50 | +keep_warnings = True |
| 51 | + |
48 | 52 | # -- Options for HTML output ------------------------------------------------- |
49 | 53 |
|
50 | 54 | # The theme to use for HTML and HTML Help pages. See the documentation for |
51 | 55 | # a list of builtin themes. |
52 | 56 | # |
53 | 57 | html_theme = 'furo' |
54 | 58 |
|
55 | | -html_theme_options = {} |
56 | | - |
57 | | -# Add any paths that contain custom static files (such as style sheets) here, |
58 | | -# relative to this directory. They are copied after the builtin static files, |
59 | | -# so a file named "default.css" will overwrite the builtin "default.css". |
60 | | -html_static_path = ['_static'] |
61 | 59 | html_theme_options = { |
62 | 60 | "source_repository": "https://github.com/sphinx-notes/strike/", |
63 | 61 | "source_branch": "master", |
|
70 | 68 |
|
71 | 69 | html_logo = html_favicon = '_static/sphinx-notes.png' |
72 | 70 |
|
| 71 | +# Add any paths that contain custom static files (such as style sheets) here, |
| 72 | +# relative to this directory. They are copied after the builtin static files, |
| 73 | +# so a file named "default.css" will overwrite the builtin "default.css". |
| 74 | +html_static_path = ['_static'] |
| 75 | + |
| 76 | +html_css_files = ['custom.css'] |
| 77 | + |
73 | 78 | # -- Extensions ------------------------------------------------------------- |
74 | 79 |
|
75 | 80 | extensions.append('sphinx.ext.extlinks') |
|
87 | 92 | autodoc_typehints = 'description' |
88 | 93 |
|
89 | 94 | extensions.append('sphinx.ext.intersphinx') |
90 | | -intersphinx_mapping = { |
91 | | - 'python': ('https://docs.python.org/3', None), |
92 | | - 'sphinx': ('https://www.sphinx-doc.org/en/master', None), |
93 | | - 'jinja': ('https://jinja.palletsprojects.com/en/latest/', None), |
94 | | -} |
| 95 | +intersphinx_mapping = {} |
95 | 96 |
|
96 | 97 | extensions.append('sphinx_sitemap') |
97 | 98 | sitemap_filename = "sitemap.xml" |
|
0 commit comments