File: conf.py

package info (click to toggle)
python-dnaio 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 524 kB
  • sloc: python: 2,726; ansic: 164; sh: 28; makefile: 15
file content (41 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download | duplicates (2)
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
40
41
# Sphinx configuration file

import os
import sys
import time

sys.path.insert(0, os.path.abspath(".."))

project = "dnaio"
copyright = f"{time.gmtime().tm_year} dnaio authors"
author = "Marcel Martin"

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.napoleon",
    "sphinx_issues",
]

templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []

html_theme = "furo"
html_show_sphinx = False
html_title = "dnaio"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ["_static"]

default_role = "obj"  # (or "any")

issues_uri = "https://github.com/marcelm/dnaio/issues/{issue}"
issues_pr_uri = "https://github.com/marcelm/dnaio/pull/{pr}"

autodoc_typehints = "description"
python_use_unqualified_type_names = True