File: conf.py

package info (click to toggle)
aioconsole 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: python: 2,010; makefile: 11; sh: 5
file content (26 lines) | stat: -rw-r--r-- 628 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
"""Sphinx configuration for aioconsole documentation."""

VERSION = (
    open("../aioconsole/__init__.py").read().split('__version__ = "')[1].split('"')[0]
)

project = "aioconsole"
version = VERSION
author = "Vincent Michel"
copyright = "2020, Vincent Michel"

master_doc = "index"
highlight_language = "python"
extensions = ["sphinx.ext.autodoc"]

html_theme = "sphinx_rtd_theme"
html_context = {
    "display_github": True,
    "github_user": "vxgmichel",
    "github_repo": "aioconsole",
    "github_version": "main",
    "conf_py_path": "/docs/",
    "source_suffix": ".rst",
}

suppress_warnings = ["image.nonlocal_uri"]