Ajout d'un titre sur la première page, mais qui n'est pas pris en compte dans la hiérarchie globale Ajout d'un fichier custom.css pour les règles communes à la version PDF et HTML Limitation de la profondeur de titres affichés dans la table des matières sur la première page de la version HTML
58 lines
1.2 KiB
Python
58 lines
1.2 KiB
Python
# Configuration file for the Sphinx documentation builder.
|
|
|
|
# -- Project information
|
|
|
|
project = 'Guide de montage Vheliotech'
|
|
copyright = '2023, Velo solaire pour tous'
|
|
author = 'Association Velo Solaire Pour Tous'
|
|
|
|
release = '1.0.0'
|
|
version = '1.0.0'
|
|
|
|
# -- General configuration
|
|
|
|
extensions = [
|
|
'sphinx.ext.duration',
|
|
'sphinx.ext.doctest',
|
|
'sphinx.ext.autodoc',
|
|
'sphinx.ext.autosummary',
|
|
'sphinx.ext.intersphinx',
|
|
'myst_parser',
|
|
'sphinxcontrib.inkscapeconverter',
|
|
]
|
|
|
|
myst_enable_extensions = [
|
|
"amsmath",
|
|
"colon_fence",
|
|
"deflist",
|
|
"dollarmath",
|
|
"fieldlist",
|
|
"html_admonition",
|
|
"html_image",
|
|
"linkify",
|
|
"replacements",
|
|
"smartquotes",
|
|
"strikethrough",
|
|
"substitution",
|
|
"tasklist",
|
|
]
|
|
|
|
intersphinx_mapping = {
|
|
'python': ('https://docs.python.org/3/', None),
|
|
'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
|
|
}
|
|
intersphinx_disabled_domains = ['std']
|
|
|
|
templates_path = ['_templates']
|
|
|
|
# -- Options for HTML output
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
html_title = 'Vhéliotech'
|
|
html_static_path = ['_static']
|
|
html_css_files = [
|
|
'custom.css',
|
|
]
|
|
|
|
# -- Options for EPUB output
|
|
epub_show_urls = 'footnote'
|