| 1 | """Sphinx configuration for aioconsole documentation.""" |
| 2 | |
| 3 | VERSION = ( |
| 4 | open("../aioconsole/__init__.py").read().split('__version__ = "')[1].split('"')[0] |
| 5 | ) |
| 6 | |
| 7 | project = "aioconsole" |
| 8 | version = VERSION |
| 9 | author = "Vincent Michel" |
| 10 | copyright = "2020, Vincent Michel" |
| 11 | |
| 12 | master_doc = "index" |
| 13 | highlight_language = "python" |
| 14 | extensions = ["sphinx.ext.autodoc"] |
| 15 | |
| 16 | html_theme = "sphinx_rtd_theme" |
| 17 | html_context = { |
| 18 | "display_github": True, |
| 19 | "github_user": "vxgmichel", |
| 20 | "github_repo": "aioconsole", |
| 21 | "github_version": "main", |
| 22 | "conf_py_path": "/docs/", |
| 23 | "source_suffix": ".rst", |
| 24 | } |
| 25 | |
| 26 | suppress_warnings = ["image.nonlocal_uri"] |