Debian Codegraph @

docs/source/conf.py

raw symbols SCIP
1 from datetime import date
2
3 # -- Project information -----------------------------------------------------
4 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
5
6 project = 'RSS Guard'
7 copyright = f'{date.today().year}, Martin Rotter'
8 author = 'Martin Rotter'
9
10 # -- General configuration ---------------------------------------------------
11 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
12
13 extensions = [
14 'myst_parser',
15 'sphinx_copybutton',
16 'sphinxcontrib.mermaid',
17 'sphinx.ext.extlinks']
18 templates_path = ['_templates']
19 exclude_patterns = [ 'old_docs' ]
20
21 # -- Options for HTML output -------------------------------------------------
22 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
23
24 html_theme = 'sphinx_rtd_theme'
25 html_static_path = ['_static']
26 html_logo = '../../resources/graphics/rssguard.png'
27 html_favicon = '../../resources/graphics/rssguard.ico'
28
29 html_theme_options = {
30 'collapse_navigation': False,
31 'sticky_navigation': True,
32 'navigation_depth': -1,
33 'includehidden': True,
34 'titles_only': False
35 }
36
37 myst_enable_extensions = [
38 "amsmath",
39 "attrs_block",
40 "attrs_inline",
41 "colon_fence",
42 "deflist",
43 "dollarmath",
44 "fieldlist",
45 "html_admonition",
46 "html_image",
47 "linkify",
48 "replacements",
49 "smartquotes",
50 "strikethrough",
51 "substitution",
52 "tasklist",
53 ]
54
55 html_css_files = [
56 'style.css',
57 ]
58
59 myst_heading_anchors = 4