2022-04-10 23:32:25 +02:00
|
|
|
# Copyright 2020-2022 Ternaris.
|
2021-05-02 14:43:01 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
"""Sphinx config."""
|
|
|
|
|
|
|
|
|
|
import typing
|
|
|
|
|
|
2021-07-05 14:17:13 +02:00
|
|
|
# https://github.com/sphinx-doc/sphinx/issues/9243
|
2021-10-21 17:07:43 +02:00
|
|
|
# pylint: disable=unused-import
|
|
|
|
|
import sphinx.builders.html # noqa
|
|
|
|
|
import sphinx.builders.latex # noqa
|
|
|
|
|
import sphinx.builders.texinfo # noqa
|
|
|
|
|
import sphinx.builders.text # noqa
|
|
|
|
|
import sphinx.ext.autodoc # noqa
|
|
|
|
|
import sphinx_rtd_theme # type: ignore # noqa
|
2021-05-02 14:43:01 +02:00
|
|
|
|
|
|
|
|
# pylint: disable=invalid-name,redefined-builtin
|
|
|
|
|
|
|
|
|
|
typing.TYPE_CHECKING = True
|
|
|
|
|
|
|
|
|
|
project = 'Rosbags'
|
2022-04-10 23:32:25 +02:00
|
|
|
copyright = '2020-2022, Ternaris'
|
2021-05-02 14:43:01 +02:00
|
|
|
author = 'Ternaris'
|
|
|
|
|
|
|
|
|
|
autoapi_python_use_implicit_namespaces = True
|
|
|
|
|
|
|
|
|
|
extensions = [
|
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
|
'sphinx.ext.napoleon',
|
|
|
|
|
'sphinx_autodoc_typehints',
|
|
|
|
|
'sphinx_rtd_theme',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|