Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 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 | from datetime import datetime |
| 17 | from minindn import __version__ |
| 18 | |
| 19 | # -- Project information ----------------------------------------------------- |
| 20 | |
| 21 | project = 'Mini-NDN' |
| 22 | copyright = '2015-{}, Mini-NDN. This research is partially supported by NSF.'.format(datetime.now().year) |
| 23 | author = 'Mini-NDN' |
| 24 | |
| 25 | # The full version, including alpha/beta/rc tags |
| 26 | release = __version__ |
| 27 | version = __version__ |
| 28 | |
| 29 | # -- General configuration --------------------------------------------------- |
| 30 | |
| 31 | # Add any Sphinx extension module names here, as strings. They can be |
| 32 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 33 | # ones. |
| 34 | extensions = [ |
| 35 | ] |
| 36 | |
| 37 | # Add any paths that contain templates here, relative to this directory. |
| 38 | templates_path = ['_templates'] |
| 39 | |
| 40 | # List of patterns, relative to source directory, that match files and |
| 41 | # directories to ignore when looking for source files. |
| 42 | # This pattern also affects html_static_path and html_extra_path. |
| 43 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 44 | |
| 45 | |
| 46 | # -- Options for HTML output ------------------------------------------------- |
| 47 | |
| 48 | # The theme to use for HTML and HTML Help pages. See the documentation for |
| 49 | # a list of builtin themes. |
| 50 | # |
| 51 | html_theme = 'sphinx_rtd_theme' |
| 52 | |
| 53 | # Add any paths that contain custom static files (such as style sheets) here, |
| 54 | # relative to this directory. They are copied after the builtin static files, |
| 55 | # so a file named "default.css" will overwrite the builtin "default.css". |
Saurab Dulal | 576a419 | 2020-08-25 00:55:22 -0500 | [diff] [blame] | 56 | html_static_path = ['_static'] |
| 57 | |
| 58 | # Need to specify the line below if custom conf.py |
| 59 | # https://github.com/readthedocs/readthedocs.org/issues/2569 |
| 60 | # https://stackoverflow.com/questions/56336234/build-fail-sphinx-error-contents-rst-not-found |
| 61 | master_doc = 'index' |