mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
46 lines
1.8 KiB
Python
46 lines
1.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
# TRIQS documentation build configuration file
|
|
|
|
import sys
|
|
sys.path.insert(0, "@CMAKE_CURRENT_SOURCE_DIR@/sphinxext")
|
|
sys.path.insert(0, "@CMAKE_CURRENT_SOURCE_DIR@/sphinxext/numpydoc")
|
|
|
|
extensions = ['sphinx.ext.autodoc',
|
|
'sphinx.ext.mathjax',
|
|
'sphinx.ext.intersphinx',
|
|
'sphinx.ext.doctest',
|
|
'sphinx.ext.todo',
|
|
'sphinx.ext.viewcode',
|
|
'sphinx.ext.autosummary',
|
|
'sphinx.ext.githubpages',
|
|
'sphinx_autorun',
|
|
'matplotlib.sphinxext.plot_directive',
|
|
'numpydoc']
|
|
|
|
source_suffix = '.rst'
|
|
|
|
project = '@PROJECT_NAME@'
|
|
version = '@PROJECT_VERSION@'
|
|
|
|
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
|
|
|
|
mathjax_path = "https://raw.githubusercontent.com/mathjax/MathJax/2.7.8/MathJax.js"
|
|
templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_templates']
|
|
|
|
html_theme = 'triqs'
|
|
html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/themes']
|
|
html_show_sphinx = False
|
|
html_context = {'header_title': '@PROJECT_NAME@',
|
|
'header_subtitle': 'An example application using cpp2py and <a class="triqs" style="font-size: 12px" href="https://triqs.github.io">TRIQS</a>',
|
|
'header_links': [['Install', 'install'],
|
|
['Documentation', 'documentation'],
|
|
['Issues', 'issues'],
|
|
['About @PROJECT_NAME@', 'about']]}
|
|
html_static_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_static']
|
|
html_sidebars = {'index': ['sideb.html', 'searchbox.html']}
|
|
|
|
htmlhelp_basename = '@PROJECT_NAME@doc'
|
|
|
|
intersphinx_mapping = {'python': ('https://docs.python.org/3.8', None), 'triqslibs': ('https://triqs.github.io/triqs/latest', None)}
|