3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00

[doc] Update conf.py to not show source-links and format links by default

This commit is contained in:
Nils Wentzell 2023-06-07 16:19:26 -04:00
parent 6e7064b669
commit 8afb22b7bf

View File

@ -56,7 +56,7 @@ rst_epilog = """
version = version, version = version,
) )
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2021 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet' copyright = '2018-2021 The Simons Foundation, authors: A. Hampel, O. Parcollet, D. Simons, H. Strand, N. Wentzell'
mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=default" mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=default"
templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_templates'] templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_templates']
@ -94,7 +94,11 @@ html_sidebars = {'index': ['sideb.html', 'searchbox.html']}
htmlhelp_basename = '@PROJECT_NAME@doc' htmlhelp_basename = '@PROJECT_NAME@doc'
intersphinx_mapping = {'python': ('https://docs.python.org/3.8', None), 'triqslibs': ('https://triqs.github.io/triqs/latest', None)} # Plot options
plot_html_show_source_link = False
plot_html_show_formats = False
intersphinx_mapping = {'python': ('https://docs.python.org/3.11', None), 'triqslibs': ('https://triqs.github.io/triqs/latest', None)}
# open links in new tab instead of same window # open links in new tab instead of same window
from sphinx.writers.html import HTMLTranslator from sphinx.writers.html import HTMLTranslator