1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # This file only contains a selection of the most common options. For a full
4
+ # list see the documentation:
5
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
6
+
7
+ # -- Path setup --------------------------------------------------------------
8
+
9
+ # If extensions (or modules to document with autodoc) are in another directory,
10
+ # add these directories to sys.path here. If the directory is relative to the
11
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
12
+ #
13
+ import os
14
+ import sys
15
+ sys .path .insert (0 , os .path .abspath ('../experiment_code' ))
16
+
17
+ # -- Project information -----------------------------------------------------
18
+
19
+ project = 'MDTB_experiment'
20
+ copyright = '2023, Diedrichsenlab'
21
+ author = 'Diedrichsenlab'
22
+
23
+ # The full version, including alpha/beta/rc tags
24
+ release = 'v.0.1a'
25
+
26
+
27
+ # -- General configuration ---------------------------------------------------
28
+
29
+ # Add any Sphinx extension module names here, as strings. They can be
30
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
31
+ # ones.
32
+ extensions = ['sphinx.ext.napoleon' ,
33
+ 'sphinx.ext.autodoc' ,
34
+ 'sphinx.ext.autosectionlabel' ,
35
+ 'sphinx.ext.mathjax' ,
36
+ 'sphinx.ext.intersphinx' ,
37
+ 'sphinx.ext.doctest' ,
38
+ 'nbsphinx' ]
39
+
40
+ napoleon_custom_sections = [('Returns' , 'params_style' )]
41
+
42
+ # Add any paths that contain templates here, relative to this directory.
43
+ templates_path = ['_templates' ]
44
+
45
+ # List of patterns, relative to source directory, that match files and
46
+ # directories to ignore when looking for source files.
47
+ # This pattern also affects html_static_path and html_extra_path.
48
+ exclude_patterns = ['build' ]
49
+
50
+ # Make sure that class constructors are documented
51
+ autoclass_content = 'both'
52
+
53
+ # -- Options for HTML output -------------------------------------------------
54
+
55
+ # The theme to use for HTML and HTML Help pages. See the documentation for
56
+ # a list of builtin themes.
57
+ #
58
+ html_theme = 'sphinx_rtd_theme'
59
+
60
+ # Add any paths that contain custom static files (such as style sheets) here,
61
+ # relative to this directory. They are copied after the builtin static files,
62
+ # so a file named "default.css" will overwrite the builtin "default.css".
63
+ html_static_path = ['_static' ]
0 commit comments