Debian Codegraph @

doc/source/conf.py

raw ◀ ▶
1 Debian patch touch this file
1 # Configuration file for the Sphinx documentation builder.
2 #
3 # For the full list of built-in configuration values, see the documentation:
4 # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
6 # -- Project information -----------------------------------------------------
7 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8
9 project = 'ASV Memray Benchmark'
10 copyright = '2024, Rohit Goswami'
11 author = 'Rohit Goswami'
12 release = '0.1.2'
13
14 # -- General configuration ---------------------------------------------------
15 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16
17 extensions = [
18 "autodoc2",
19 "myst_parser",
20 "sphinx.ext.intersphinx",
21 "sphinx.ext.viewcode", # Links to source code
22 ]
23
24 templates_path = ['_templates']
25 exclude_patterns = []
26
27 autodoc2_render_plugin = 'myst'
28
29 autodoc2_packages = [
30 "../../asv_bench_memray",
31 ]
32
33 intersphinx_mapping = {
•34 "python": ("/usr/share/doc/python3-doc/html", None),
35 "sphinx": ("/usr/share/doc/sphinx-doc/html", None),
36 "asv_runner": ("/usr/share/doc/python-asv-runner-doc/html", None),
37 }
38 myst_enable_extensions = ["fieldlist", "deflist"]
39
40
41 # -- Options for HTML output -------------------------------------------------
42 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
43
44 html_theme = 'furo'
45 html_static_path = ['_static']