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 ('../..' ))
16+
17+ import datajoint
18+
19+ import sphinx_rtd_theme
20+
21+
22+ # -- Project information -----------------------------------------------------
23+
24+ project = 'DataJoint'
25+ copyright = '2021, datajoint.io'
26+ author = 'datajoint.io'
27+
28+ # The full version, including alpha/beta/rc tags
29+ release = datajoint .__version__
30+
31+
32+ # -- General configuration ---------------------------------------------------
33+
34+ # Add any Sphinx extension module names here, as strings. They can be
35+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
36+ # ones.
37+ extensions = [
38+ 'sphinx.ext.todo' , 'sphinx.ext.viewcode' , 'sphinx.ext.autodoc'
39+ ]
40+
41+ # Add any paths that contain templates here, relative to this directory.
42+ templates_path = ['_templates' ]
43+
44+ # List of patterns, relative to source directory, that match files and
45+ # directories to ignore when looking for source files.
46+ # This pattern also affects html_static_path and html_extra_path.
47+ exclude_patterns = []
48+
49+
50+ # -- Options for HTML output -------------------------------------------------
51+
52+ # The theme to use for HTML and HTML Help pages. See the documentation for
53+ # a list of builtin themes.
54+ #
55+ html_theme = 'sphinx_rtd_theme'
56+
57+ # Add any paths that contain custom static files (such as style sheets) here,
58+ # relative to this directory. They are copied after the builtin static files,
59+ # so a file named "default.css" will overwrite the builtin "default.css".
60+ html_static_path = []
0 commit comments