2018-03-22 18:11:39 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
# TRIQS documentation build configuration file
|
|
|
|
|
2018-06-01 15:38:03 +02:00
|
|
|
import sys
|
2019-04-03 00:07:03 +02:00
|
|
|
sys.path.insert(0, "@TRIQS_SPHINXEXT_PATH@/autorun")
|
2018-06-01 15:38:03 +02:00
|
|
|
sys.path.insert(0, "@TRIQS_SPHINXEXT_PATH@/numpydoc")
|
|
|
|
|
2018-03-22 18:11:39 +01:00
|
|
|
extensions = ['sphinx.ext.autodoc',
|
|
|
|
'sphinx.ext.mathjax',
|
|
|
|
'sphinx.ext.intersphinx',
|
2018-06-01 15:38:03 +02:00
|
|
|
'sphinx.ext.doctest',
|
|
|
|
'sphinx.ext.todo',
|
|
|
|
'sphinx.ext.viewcode',
|
|
|
|
'sphinx.ext.autosummary',
|
2019-04-03 00:07:03 +02:00
|
|
|
'numpydoc',
|
2019-04-23 19:33:57 +02:00
|
|
|
'plot_directive',
|
2019-04-03 00:07:03 +02:00
|
|
|
'autorun']
|
2018-03-22 18:11:39 +01:00
|
|
|
|
|
|
|
source_suffix = '.rst'
|
|
|
|
|
2020-04-03 22:20:26 +02:00
|
|
|
project = 'APP4TRIQS - An example triqs application'
|
|
|
|
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
|
2019-10-28 23:23:15 +01:00
|
|
|
version = '@PROJECT_VERSION@'
|
2018-03-22 18:11:39 +01:00
|
|
|
|
|
|
|
mathjax_path = "@TRIQS_MATHJAX_PATH@/MathJax.js?config=default"
|
2019-06-26 17:35:52 +02:00
|
|
|
templates_path = ['@PROJECT_SOURCE_DIR@/doc/_templates']
|
2018-03-22 18:11:39 +01:00
|
|
|
|
|
|
|
html_theme = 'triqs'
|
|
|
|
html_theme_path = ['@TRIQS_THEMES_PATH@']
|
|
|
|
html_show_sphinx = False
|
|
|
|
html_context = {'header_title': 'app4triqs',
|
2019-08-20 00:10:26 +02:00
|
|
|
'header_subtitle': 'An example application using cpp2py and <a class="triqs" style="font-size: 12px" href="https://triqs.github.io">TRIQS</a>',
|
2018-03-22 18:11:39 +01:00
|
|
|
'header_links': [['Install', 'install'],
|
|
|
|
['Documentation', 'documentation'],
|
|
|
|
['Issues', 'issues'],
|
|
|
|
['About app4triqs', 'about']]}
|
2019-06-26 17:35:52 +02:00
|
|
|
html_static_path = ['@PROJECT_SOURCE_DIR@/doc/_static']
|
2018-03-22 18:11:39 +01:00
|
|
|
html_sidebars = {'index': ['sideb.html', 'searchbox.html']}
|
|
|
|
|
2018-06-01 15:38:03 +02:00
|
|
|
htmlhelp_basename = 'APP4TRIQSdoc'
|
2018-03-22 18:11:39 +01:00
|
|
|
|
2019-08-20 00:10:26 +02:00
|
|
|
intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None), 'triqslibs': ('https://triqs.github.io/triqs/latest', None)}
|