URL footnotes in pdf and conf.py documentation

This commit is contained in:
Paul Schaub 2022-07-07 00:13:50 +02:00
parent 16c44e670e
commit c916cec042
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 4 additions and 5 deletions

View File

@ -13,12 +13,9 @@ release = latest_tag
version = release
myst_substitutions = {
"repo_host" : "codeberg.org"
"repo_host" : "codeberg.org" # or 'github.com'
}
# -- General configuration
extensions = [
@ -45,9 +42,11 @@ templates_path = ['_templates']
html_theme = 'sphinx_rtd_theme'
# -- Options for EPUB output
# Show URLs as footnotes
#epub_show_urls = 'footnote'
latex_show_urls = 'footnote'
mermaid_cmd = "./node_modules/.bin/mmdc"
# 'raw' does not work for epub and pdf, neither does 'svg'
mermaid_output_format = 'png'
mermaid_params = ['--theme', 'default', '--width', '800', '--backgroundColor', 'transparent']