Debian Codegraph @

cmake/templates/sphinx-conf.py.in

raw
1 # -- Project information -----------------------------------------------------
2 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
3 project = '@META_APP_BASE_NAME@'
4 copyright = '@META_APP_COPYRIGHT@'
5 author = '@META_APP_AUTHOR@'
6 version = '@META_VERSION_MAJOR@.@META_VERSION_MINOR@.@META_VERSION_PATCH@'
7 release = '@META_RELEASE_DATE@'
8
9 # -- General configuration ------------------------------------------------
10 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
11 exclude_patterns = [
12 '.github', # exclude GitHub issue templates
13 'syncthing/go/**', # exclude files from Syncthing itself
14 'CMakeLists*', # avoid CMakeLists.txt from being considered normal txt files
15 '**/CMakeLists*', # avoid CMakeLists.txt from being considered normal txt files
16 'LICENSES-*', # exclude license compilations
17 ]
18 extensions = [
19 'myst_parser', # enable Markdown support
20 ]
21 language = 'en'
22 master_doc = 'index'
23 pygments_style = 'sphinx'
24 source_suffix = {
25 '.rst': 'restructuredtext',
26 '.md': 'markdown',
27 }
28 templates_path = ['_templates']
29
30 # -- Options for HTML output ----------------------------------------------
31 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
32 html_theme = 'alabaster'