File: conf.py

package info (click to toggle)
sphinxcontrib-bibtex 2.6.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: python: 4,668; makefile: 245
file content (26 lines) | stat: -rw-r--r-- 775 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
import sys

if sys.version_info >= (3, 10):
    from importlib.metadata import version
else:
    from importlib_metadata import version

needs_sphinx = "2.1"
extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.intersphinx",
    "sphinx.ext.coverage",
    "sphinx.ext.viewcode",
]
master_doc = "index"
project = "sphinxcontrib-bibtex"
copyright = "2011-2024, Matthias C. M. Troffaes"
release = version("sphinxcontrib-bibtex")
version = ".".join(release.split(".")[:2])
exclude_patterns = ["_build"]
pygments_style = "sphinx"
intersphinx_mapping = {
    "python": ("https://docs.python.org/3/", "/usr/share/doc/python3-doc/html/objects.inv"),
    "sphinx": ("http://www.sphinx-doc.org/en/master/", "/usr/share/doc/sphinx-doc/html/objects.inv"),
}
html_theme = "alabaster"