3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 12:55:17 +01:00
dft_tools/doc/conf.py.in

50 lines
1.9 KiB
Python
Raw Normal View History

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
import sys
sys.path.insert(0, "@CMAKE_CURRENT_SOURCE_DIR@/sphinxext")
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")
2013-09-01 17:56:17 +02:00
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',
'nbsphinx',
'IPython.sphinxext.ipython_console_highlighting',
'numpydoc']
2013-08-07 16:40:18 +02:00
source_suffix = '.rst'
project = '@PROJECT_NAME@'
version = '@PROJECT_VERSION@'
copyright = '2011-2020'
2013-08-07 16:40:18 +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'
html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/themes']
2013-09-01 17:56:17 +02:00
html_show_sphinx = False
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'],
['About DFTTools', 'about']]}
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
htmlhelp_basename = '@PROJECT_NAME@doc'
2013-09-01 17:56:17 +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)}