Skip to content

Commit ffe1be9

Browse files
Update conf.py
1 parent 09426e0 commit ffe1be9

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

doc/source/conf.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,27 @@
66
author = 'Matvei Kreinin, Maria Nikitina, Petr Babkin, Irina Zaboryanskaya'
77
release = '0.1'
88

9-
extensions = [
10-
'sphinx.ext.autodoc',
11-
'sphinx.ext.napoleon',
12-
'sphinx.ext.viewcode',
13-
]
9+
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest',
10+
'sphinx.ext.intersphinx', 'sphinx.ext.todo',
11+
'sphinx.ext.ifconfig', 'sphinx.ext.viewcode',
12+
'sphinx.ext.inheritance_diagram',
13+
'sphinx.ext.autosummary', 'sphinx.ext.mathjax',
14+
'sphinx_rtd_theme']
15+
16+
autodoc_mock_imports = ["numpy", "scipy", "sklearn", "torch"]
1417

1518
templates_path = ['_templates']
1619
exclude_patterns = []
1720

21+
html_extra_path = []
22+
23+
html_context = {
24+
"display_github": True,
25+
"github_user": "Intelligent-Systems-Phystech",
26+
"github_repo": "ProjectTemplate",
27+
"github_version": "master",
28+
"conf_py_path": "/doc/source/",
29+
}
30+
1831
html_theme = 'sphinx_rtd_theme'
1932
html_static_path = ['_static']

0 commit comments

Comments
 (0)