Debian Codegraph @

docs/source/conf.py

raw symbols SCIP
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 import sys
6
7 sys.path.append("../../")
8
9 import rtree # noqa: E402
10
11 # -- Project information -----------------------------------------------------
12 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
13
14 project = "Rtree"
15 copyright = "2019, Sean Gilles, Howard Butler, and contributors"
16 author = "Sean Gilles, Howard Butler, and contributors"
17 version = release = rtree.__version__
18
19 # -- General configuration ---------------------------------------------------
20 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
21
22 extensions = [
23 "sphinx.ext.autodoc",
24 "sphinx.ext.doctest",
25 "sphinx.ext.intersphinx",
26 "sphinx.ext.todo",
27 "sphinx.ext.coverage",
28 "sphinx.ext.ifconfig",
29 "sphinx_issues",
30 ]
31
32 templates_path = ["_templates"]
33 exclude_patterns = []
34
35 # The name of the Pygments (syntax highlighting) style to use.
36 pygments_style = "sphinx"
37
38 # -- Options for HTML output -------------------------------------------------
39 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
40
41
42 html_theme = "nature"
43 htmlhelp_basename = "Rtreedoc"
44
45 # -- Options for LaTeX output --------------------------------------------
46
47 # Grouping the document tree into LaTeX files. List of tuples
48 # (source start file, target name, title, author, documentclass [howto/manual]).
49 latex_documents = [("index", "Rtree.tex", "Rtree Documentation", author, "manual")]
50
51 pdf_documents = [("index", "Rtree", "Rtree Documentation", "The Rtree Team")]
52
53 pdf_language = "en_US"
54 pdf_fit_mode = "overflow"
55
56 # -- Extension configuration -------------------------------------------------
57
58 intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
59
60 # sphinx.ext.autodoc
61 autodoc_typehints = "description"
62 autodoc_typehints_description_target = "documented"
63
64 # sphinx-issues
65 issues_github_path = "Toblerity/rtree"
66 issues_commit_prefix = ""