blob: 271a19d5bdef796ed046ae3080e15ef5a1b85af1 [file] [log] [blame]
Ashlesh Gawande6c86e302019-09-17 22:27:05 -05001# Configuration file for the Sphinx documentation builder.
2#
Davide Pesavento750d0402025-02-25 16:50:50 -05003# For the full list of built-in configuration values, see the documentation:
Ashlesh Gawande6c86e302019-09-17 22:27:05 -05004# https://www.sphinx-doc.org/en/master/usage/configuration.html
5
6# -- Path setup --------------------------------------------------------------
7
8# If extensions (or modules to document with autodoc) are in another directory,
9# add these directories to sys.path here. If the directory is relative to the
10# documentation root, use os.path.abspath to make it absolute, like shown here.
11#
12# import os
13# import sys
14# sys.path.insert(0, os.path.abspath('.'))
15from datetime import datetime
16from minindn import __version__
17
18# -- Project information -----------------------------------------------------
Davide Pesavento750d0402025-02-25 16:50:50 -050019# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
Ashlesh Gawande6c86e302019-09-17 22:27:05 -050020
21project = 'Mini-NDN'
22copyright = '2015-{}, Mini-NDN. This research is partially supported by NSF.'.format(datetime.now().year)
23author = 'Mini-NDN'
24
Davide Pesavento750d0402025-02-25 16:50:50 -050025# The short X.Y version.
Ashlesh Gawande6c86e302019-09-17 22:27:05 -050026version = __version__
27
Davide Pesavento750d0402025-02-25 16:50:50 -050028# The full version, including alpha/beta/rc tags.
29release = __version__
30
31
Ashlesh Gawande6c86e302019-09-17 22:27:05 -050032# -- General configuration ---------------------------------------------------
Davide Pesavento750d0402025-02-25 16:50:50 -050033# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Ashlesh Gawande6c86e302019-09-17 22:27:05 -050034
35# Add any Sphinx extension module names here, as strings. They can be
36# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
37# ones.
38extensions = [
Davide Pesavento750d0402025-02-25 16:50:50 -050039 'sphinx.ext.extlinks',
40 'sphinx.ext.todo',
Ashlesh Gawande6c86e302019-09-17 22:27:05 -050041]
42
43# Add any paths that contain templates here, relative to this directory.
44templates_path = ['_templates']
45
46# List of patterns, relative to source directory, that match files and
47# directories to ignore when looking for source files.
48# This pattern also affects html_static_path and html_extra_path.
49exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
50
51
52# -- Options for HTML output -------------------------------------------------
Davide Pesavento750d0402025-02-25 16:50:50 -050053# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Ashlesh Gawande6c86e302019-09-17 22:27:05 -050054
55# The theme to use for HTML and HTML Help pages. See the documentation for
56# a list of builtin themes.
57#
58html_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".
Saurab Dulal576a4192020-08-25 00:55:22 -050063html_static_path = ['_static']
64
65# Need to specify the line below if custom conf.py
66# https://github.com/readthedocs/readthedocs.org/issues/2569
67# https://stackoverflow.com/questions/56336234/build-fail-sphinx-error-contents-rst-not-found
68master_doc = 'index'
Davide Pesavento750d0402025-02-25 16:50:50 -050069
70
71# -- Misc options ------------------------------------------------------------
72
73extlinks = {
74 'issue': ('https://redmine.named-data.net/issues/%s', 'issue #%s'),
75}