|
| 1 | +#!/usr/bin/env python3 |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | +# |
| 4 | +# BSS documentation build configuration file, created by |
| 5 | +# sphinx-quickstart on Tue May 1 10:26:43 2018. |
| 6 | +# |
| 7 | +# This file is execfile()d with the current directory set to its |
| 8 | +# containing dir. |
| 9 | +# |
| 10 | +# Note that not all possible configuration values are present in this |
| 11 | +# autogenerated file. |
| 12 | +# |
| 13 | +# All configuration values have a default; values that are commented out |
| 14 | +# serve to show the default. |
| 15 | + |
| 16 | +# If extensions (or modules to document with autodoc) are in another directory, |
| 17 | +# add these directories to sys.path here. If the directory is relative to the |
| 18 | +# documentation root, use os.path.abspath to make it absolute, like shown here. |
| 19 | +# |
| 20 | +import os |
| 21 | +import sys |
| 22 | +import sphinx_rtd_theme |
| 23 | +sys.path.insert(0, os.path.abspath('../src')) |
| 24 | +import chisel |
| 25 | + |
| 26 | +# -- General configuration ------------------------------------------------ |
| 27 | + |
| 28 | +# If your documentation needs a minimal Sphinx version, state it here. |
| 29 | +# |
| 30 | +# needs_sphinx = '1.0' |
| 31 | + |
| 32 | +# Add any Sphinx extension module names here, as strings. They can be |
| 33 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 34 | +# ones. |
| 35 | +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'numpydoc', 'recommonmark', 'sphinx_markdown_tables'] |
| 36 | + |
| 37 | +# Add any paths that contain templates here, relative to this directory. |
| 38 | +templates_path = ['_templates'] |
| 39 | + |
| 40 | +# The suffix(es) of source filenames. |
| 41 | +# You can specify multiple suffix as a list of string: |
| 42 | +# |
| 43 | +# source_suffix = ['.rst', '.md', '.sh'] |
| 44 | +# source_suffix = '.rst' |
| 45 | + |
| 46 | +# Extra file to copy over to the build directory |
| 47 | +html_extra_path = ['../../install_full.sh'] |
| 48 | + |
| 49 | +# The master toctree document. |
| 50 | +master_doc = 'index' |
| 51 | + |
| 52 | +# General information about the project. |
| 53 | +project = 'CHISEL' |
| 54 | +copyright = '2021, Princeton University' |
| 55 | +author = 'Simone Zaccaria' |
| 56 | + |
| 57 | +# The version info for the project you're documenting, acts as replacement for |
| 58 | +# |version| and |release|, also used in various other places throughout the |
| 59 | +# built documents. |
| 60 | +# |
| 61 | +# The short X.Y version. |
| 62 | +version = chisel.__version__ |
| 63 | +# The full version, including alpha/beta/rc tags. |
| 64 | +release = version |
| 65 | + |
| 66 | +# The language for content autogenerated by Sphinx. Refer to documentation |
| 67 | +# for a list of supported languages. |
| 68 | +# |
| 69 | +# This is also used if you do content translation via gettext catalogs. |
| 70 | +# Usually you set "language" from the command line for these cases. |
| 71 | +language = None |
| 72 | + |
| 73 | +# List of patterns, relative to source directory, that match files and |
| 74 | +# directories to ignore when looking for source files. |
| 75 | +# This patterns also effect to html_static_path and html_extra_path |
| 76 | +exclude_patterns = [] |
| 77 | + |
| 78 | +# The name of the Pygments (syntax highlighting) style to use. |
| 79 | +pygments_style = 'sphinx' |
| 80 | + |
| 81 | +# If true, `todo` and `todoList` produce output, else they produce nothing. |
| 82 | +todo_include_todos = False |
| 83 | + |
| 84 | + |
| 85 | +# -- Options for HTML output ---------------------------------------------- |
| 86 | + |
| 87 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 88 | +# a list of builtin themes. |
| 89 | +# |
| 90 | +html_theme = 'sphinx_rtd_theme' |
| 91 | +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
| 92 | + |
| 93 | +# -- Options for HTMLHelp output ------------------------------------------ |
| 94 | + |
| 95 | +# Output file base name for HTML help builder. |
| 96 | +htmlhelp_basename = 'chisel' |
| 97 | + |
| 98 | +autoclass_content = 'both' |
0 commit comments