File: conf.py

package info (click to toggle)
libpqxx 7.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,184 kB
  • sloc: cpp: 14,681; sh: 4,859; python: 801; makefile: 244
file content (39 lines) | stat: -rw-r--r-- 986 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Configuration file for the Sphinx documentation builder.

from pathlib import Path


project = 'libpqxx'
copyright = '2000-2024, Jeroen T. Vermeulen'
author = 'Jeroen T. Vermeulen'

version = (Path(__file__).parents[2] / 'VERSION').read_text().strip()
release = '.'.join(version.split('.')[:2])

extensions = [
    # TODO: Not actually using Sphinx for now.  Should we?
    # From readthedocs template:
    # 'sphinx.ext.duration',
    # 'sphinx.ext.doctest',
    # 'sphinx.ext.autodoc',
    # 'sphinx.ext.autosummary',
    # 'sphinx.ext.intersphinx',

    # Additional:
    # TODO: Not using Breathe for now.  Should we?
    # 'breathe',
    'myst_parser',
]

# TODO: What do these actually mean?
# intersphinx_mapping = {
#     'python': ('https://docs.python.org/3/', None),
#     'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
# }
# intersphinx_disabled_domains = ['std']

templates_path = ['_templates']

# -- Options for HTML output

html_theme = 'sphinx_rtd_theme'