Debian Codegraph @

docs/conf.py

raw ◀ ▶
1 Debian patch touch this file
1 import os
2 import sys
3
4 sys.path.insert(0, os.path.abspath(".."))
5 import nose2 # noqa:E402
6
7 extensions = [
8 "sphinx.ext.autodoc",
9 "sphinx.ext.doctest",
10 "sphinx.ext.intersphinx",
11 "sphinx.ext.todo",
12 "sphinx.ext.coverage",
13 "sphinx.ext.ifconfig",
14 "sphinx.ext.viewcode",
15 "sphinx_issues",
16 "nose2.sphinxext",
17 ]
18
19 source_suffix = ".rst"
20 master_doc = "index"
21 project = "nose2"
22 copyright = "2010-2022, Jason Pellerin, Stephen Rosen"
23 version = release = nose2.__version__
24 exclude_patterns = ["_build"]
25 templates_path = ["_templates"]
26
27 # theme
28 html_theme = "sphinx_rtd_theme"
29
30 # sphinx-issues
31 github_user = "nose-devs"
32 github_repo = "nose2"
33 issues_github_path = f"{github_user}/{github_repo}"
34 # intersphinx
35 intersphinx_mapping = {
•36 "python": ("/usr/share/doc/python3-doc/html", None),
37 }