mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-23 08:02:05 +01:00
d7d34d4940
Signed-off-by: David Runge <dave@sleepmap.de>
61 lines
2 KiB
Python
61 lines
2 KiB
Python
# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
#
|
|
# Configuration file for the Sphinx documentation builder.
|
|
#
|
|
# For the full list of built-in configuration values, see the documentation:
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
|
|
project = 'OpenPGP for application developers'
|
|
copyright = '2023, The "Notes on OpenPGP" project, CC-BY-SA-4.0'
|
|
version = "0.01"
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
'myst_parser',
|
|
]
|
|
source_suffix = ['.md', '.rst']
|
|
|
|
templates_path = ['_templates']
|
|
exclude_patterns = []
|
|
|
|
# number code-blocks, figures and tables, if they have a caption
|
|
numfig = True
|
|
# number figures in flat hierarchy
|
|
numfig_secnum_depth = 0
|
|
|
|
# -- Options for MyST-parser -------------------------------------------------
|
|
# https://myst-parser.readthedocs.io/en/latest/configuration.html
|
|
|
|
# we want to circumvent obscure warnings about footnotes following a heading:
|
|
# https://github.com/executablebooks/MyST-Parser/issues/352
|
|
myst_footnote_transition = False
|
|
|
|
# -- Options for EPUB output -------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output
|
|
|
|
epub_css_files = [
|
|
'epub/css/custom.css'
|
|
]
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
html_theme = 'alabaster'
|
|
html_static_path = ['_static']
|
|
|
|
html_show_sphinx = False
|
|
html_show_copyright = False
|
|
html_show_sourcelink = False
|
|
|
|
# https://github.com/sphinx-doc/alabaster/blob/0.x/alabaster/theme.conf
|
|
html_theme_options = {
|
|
'code_font_size': '9pt',
|
|
'show_relbars': 'yes',
|
|
'show_powered_by': False,
|
|
}
|