-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconf.py
107 lines (89 loc) · 3.12 KB
/
conf.py
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import datetime
def get_years(start_year=2021):
year = datetime.datetime.now().year
if year > start_year:
return f'{start_year} - {year}'
else:
return f'{year}'
# -- Project information -----------------------------------------------------
project = 'cebra'
copyright = f'''{get_years(2021)}, Steffen Schneider, Jin H Lee, Mackenzie Mathis'''
author = 'Steffen Schneider, Jin H Lee, Mackenzie Mathis'
release = "0.0.1"
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'nbsphinx_adapted',
'IPython.sphinxext.ipython_console_highlighting'
]
coverage_show_missing_items = True
# Add any paths that contain templates here, relative to this directory.
# templates_path = ['_templates']
templates_path = []
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = [
'_build',
'build',
'todo',
'src',
'data',
'.*'
]
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "pydata_sphinx_theme"
# More info on theme options:
# https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/configuring.html
html_theme_options = {
"icon_links": [{
"name": "Github",
"url": "https://github.com/stes/neural_cl",
"icon": "fab fa-github"
}, {
"name": "Twitter",
"url": "https://twitter.com/mwmathislab",
"icon": "fab fa-twitter"
}, {
"name": "DockerHub",
"url": "https://hub.docker.com/r/stffsc/cebra",
"icon": "fab fa-docker"
}, {
"name": "PyPI",
"url": "https://pypi.org/project/cebra/",
"icon": "fab fa-python"
}, {
"name": "How to cite CEBRA",
"url": "https://scholar.google.com",
"icon": "fas fa-graduation-cap"
}],
"collapse_navigation": False,
"show_nav_level": 2,
"navigation_depth": 2,
"navbar_align": "content",
"show_prev_next": False,
'nosidebar': False,
"navbar_start": ["navbar-logo"],
"navbar_center": ["navbar-nav"],
"navbar_end": ["navbar-icon-links"]
}
html_logo = "_static/img/logo_large.png"
# Remove the search field for now
#html_sidebars = {'**': ['sidebar-nav-bs.html']}
html_sidebars = {
#"**": ["search-field.html", 'localtoc.html', "sidebar-nav-bs.html"]
"**": ["search-field.html", "sidebar-nav-bs.html"]
}
# Disable links for embedded images
html_scaled_image_link = False
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = ["css/custom.css"]
# Customizations
nbsphinx_kernel_name = 'python3'