mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 20:32:05 +01:00
URL footnotes in pdf and conf.py documentation
This commit is contained in:
parent
16c44e670e
commit
c916cec042
1 changed files with 4 additions and 5 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue