diff options
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 67e156c..2441af9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,6 +42,8 @@ extensions = [ "sphinx.ext.mathjax", "matplotlib.sphinxext.plot_directive", "nbsphinx", + "IPython.sphinxext.ipython_directive", + "IPython.sphinxext.ipython_console_highlighting", ] # Add any paths that contain templates here, relative to this directory. @@ -109,6 +111,10 @@ pygments_style = "sphinx" # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] +# -- Options for extensions ---------------------------------------------------- +# napoleon +napoleon_preprocess_types = True + # -- Options for HTML output --------------------------------------------------- @@ -321,7 +327,13 @@ epub_copyright = copyright # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {"http://docs.python.org/": None} +intersphinx_mapping = { + "python": ("https://docs.python.org/3/", None), + "numpy": ("https://numpy.org/doc/stable", None), + "matplotlib": ("https://matplotlib.org/stable/", None), + "dask": ("https://docs.dask.org/en/latest", None), + "sparse": ("https://sparse.pydata.org/en/latest/", None), +} # -- Doctest configuration ----------------------------------------------------- |