1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
# Copyright © 2014-2021, German Neuroinformatics Node (G-Node)
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted under the terms of the BSD License. See
# LICENSE file in the root of the Project.
from nixio.info import RELEASE, COPYRIGHT, BRIEF
# general config
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.autosectionlabel']
source_suffix = '.rst'
master_doc = 'index'
project = BRIEF
copyright = COPYRIGHT
release = RELEASE
exclude_patterns = []
pygments_style = 'sphinx'
# html options
htmlhelp_basename = 'nixio'
try:
html_theme = 'sphinx_rtd_theme'
html_sidebars = {'**': ['about.html', 'navigation.html', 'searchbox.html']}
html_theme_options = {'logo_only': True,
'display_version': True,
'style_external_links': True,
'prev_next_buttons_location': "both"}
html_logo = "nix_logo.png"
except ImportError:
html_theme = 'default'
# intersphinx configuration
intersphinx_mapping = {'python': ['http://docs.python.org/', None],
'scipy': ['http://docs.scipy.org/doc/numpy', None] }
|