2023-01-11 15:21:14 +01:00
|
|
|
# Copyright 2020-2023 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
|
2022-04-10 23:33:44 +02:00
|
|
|
import sphinx.builders.html as _1
|
|
|
|
|
import sphinx.builders.latex as _2
|
|
|
|
|
import sphinx.builders.texinfo as _3
|
|
|
|
|
import sphinx.builders.text as _4
|
|
|
|
|
import sphinx.ext.autodoc as _5
|
|
|
|
|
|
|
|
|
|
__all__ = ['_1', '_2', '_3', '_4', '_5']
|
2021-05-02 14:43:01 +02:00
|
|
|
|
|
|
|
|
# pylint: disable=invalid-name,redefined-builtin
|
|
|
|
|
|
|
|
|
|
typing.TYPE_CHECKING = True
|
|
|
|
|
|
|
|
|
|
project = 'Rosbags'
|
2023-01-11 15:21:14 +01:00
|
|
|
copyright = '2020-2023, Ternaris'
|
2021-05-02 14:43:01 +02:00
|
|
|
author = 'Ternaris'
|
|
|
|
|
|
|
|
|
|
autoapi_python_use_implicit_namespaces = True
|
2022-04-11 14:10:38 +02:00
|
|
|
autodoc_typehints = 'description'
|
2021-05-02 14:43:01 +02:00
|
|
|
|
|
|
|
|
extensions = [
|
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
|
'sphinx.ext.napoleon',
|
|
|
|
|
'sphinx_autodoc_typehints',
|
|
|
|
|
'sphinx_rtd_theme',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|