1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-01 01:55:59 +01:00

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

View file

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