Skip to content

Commit 6497018

Browse files
<Vishal> config file added for docs.
1 parent f832f51 commit 6497018

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/conf.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import os
2+
import sys
3+
4+
sys.path.insert(0, os.path.abspath('../../../'))
5+
sys.path.insert(0, os.path.abspath('..'))
6+
7+
extensions = [
8+
'sphinx.ext.autodoc', # To generate autodocs
9+
'sphinx.ext.mathjax', # autodoc with maths
10+
'sphinx.ext.napoleon' # For auto-doc configuration
11+
]
12+
13+
napoleon_google_docstring = False # Turn off googledoc strings
14+
napoleon_numpy_docstring = True # Turn on numpydoc strings
15+
napoleon_use_ivar = True # For maths symbology

0 commit comments

Comments
 (0)