2013-08-07 16:40:18 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2013-09-01 17:56:17 +02:00
|
|
|
# TRIQS documentation build configuration file
|
2013-08-07 16:40:18 +02:00
|
|
|
|
2016-02-12 10:58:11 +01:00
|
|
|
import sys
|
2020-06-08 20:49:06 +02:00
|
|
|
sys.path.insert(0, "@CMAKE_CURRENT_SOURCE_DIR@/sphinxext")
|
2020-06-10 17:45:53 +02:00
|
|
|
sys.path.insert(0, "@CMAKE_CURRENT_SOURCE_DIR@/sphinxext/numpydoc")
|
2018-09-10 10:56:37 +02:00
|
|
|
sys.path.insert(0, "@CMAKE_BINARY_DIR@/python")
|
2016-02-12 10:58:11 +01:00
|
|
|
|
2013-09-01 17:56:17 +02:00
|
|
|
extensions = ['sphinx.ext.autodoc',
|
|
|
|
'sphinx.ext.mathjax',
|
|
|
|
'sphinx.ext.intersphinx',
|
2015-03-12 00:01:12 +01:00
|
|
|
'sphinx.ext.doctest',
|
|
|
|
'sphinx.ext.todo',
|
|
|
|
'sphinx.ext.viewcode',
|
|
|
|
'sphinx.ext.autosummary',
|
2019-12-04 01:29:09 +01:00
|
|
|
'sphinx.ext.githubpages',
|
2020-06-08 20:49:06 +02:00
|
|
|
'sphinx_autorun',
|
2020-06-10 17:45:53 +02:00
|
|
|
'matplotlib.sphinxext.plot_directive',
|
|
|
|
'nbsphinx',
|
|
|
|
'IPython.sphinxext.ipython_console_highlighting',
|
|
|
|
'numpydoc']
|
2013-08-07 16:40:18 +02:00
|
|
|
|
|
|
|
source_suffix = '.rst'
|
|
|
|
|
2020-06-10 17:45:53 +02:00
|
|
|
project = '@PROJECT_NAME@'
|
|
|
|
version = '@PROJECT_VERSION@'
|
|
|
|
|
|
|
|
copyright = '2011-2020'
|
2013-08-07 16:40:18 +02:00
|
|
|
|
2020-06-10 17:45:53 +02:00
|
|
|
mathjax_path = "https://raw.githubusercontent.com/mathjax/MathJax/2.7.8/MathJax.js"
|
|
|
|
templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_templates']
|
2013-08-07 16:40:18 +02:00
|
|
|
|
2013-09-01 17:56:17 +02:00
|
|
|
html_theme = 'triqs'
|
2020-06-10 17:45:53 +02:00
|
|
|
html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/themes']
|
2013-09-01 17:56:17 +02:00
|
|
|
html_show_sphinx = False
|
2016-07-08 12:04:31 +02:00
|
|
|
html_context = {'header_title': 'dft tools',
|
2018-05-27 02:19:47 +02:00
|
|
|
'header_subtitle': 'connecting <a class="triqs" style="font-size: 12px" href="http://triqs.github.io/triqs">TRIQS</a> to DFT packages',
|
2013-09-01 17:56:17 +02:00
|
|
|
'header_links': [['Install', 'install'],
|
|
|
|
['Documentation', 'documentation'],
|
2018-08-06 11:44:41 +02:00
|
|
|
['Tutorials', 'tutorials'],
|
2013-09-01 17:56:17 +02:00
|
|
|
['Issues', 'issues'],
|
2016-07-08 12:04:31 +02:00
|
|
|
['About DFTTools', 'about']]}
|
2020-06-10 17:45:53 +02:00
|
|
|
html_static_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_static']
|
2013-09-04 16:54:45 +02:00
|
|
|
html_sidebars = {'index': ['sideb.html', 'searchbox.html']}
|
2013-09-01 17:56:17 +02:00
|
|
|
|
2020-06-10 17:45:53 +02:00
|
|
|
htmlhelp_basename = '@PROJECT_NAME@doc'
|
2013-09-01 17:56:17 +02:00
|
|
|
|
2020-06-10 19:38:21 +02:00
|
|
|
intersphinx_mapping = {'python': ('https://docs.python.org/3.8', None), 'triqslibs': ('https://triqs.github.io/triqs/latest', None), 'triqscthyb': ('https://triqs.github.io/cthyb/latest', None)}
|