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