2025-11-18 15:16:24 +00:00
|
|
|
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2023-12-10 15:13:11 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
#
|
|
|
|
|
# Common (non-language-specific) configuration for Sphinx
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# type: ignore
|
|
|
|
|
# pylint: disable=wildcard-import
|
|
|
|
|
# pylint: disable=undefined-variable
|
|
|
|
|
|
|
|
|
|
from __future__ import print_function, unicode_literals
|
|
|
|
|
|
2025-11-13 14:04:56 +00:00
|
|
|
from esp_docs.conf_docs import * # noqa: F403,F401,F405
|
2023-12-10 15:13:11 +01:00
|
|
|
|
2025-11-13 14:04:56 +00:00
|
|
|
extensions += [ # noqa: F403,F401,F405
|
|
|
|
|
"sphinx_copybutton",
|
|
|
|
|
# Needed as a trigger for running doxygen
|
|
|
|
|
"esp_docs.esp_extensions.dummy_build_system",
|
|
|
|
|
"esp_docs.esp_extensions.run_doxygen",
|
|
|
|
|
]
|
2023-12-10 15:13:11 +01:00
|
|
|
|
|
|
|
|
# link roles config
|
2025-11-13 14:04:56 +00:00
|
|
|
github_repo = "espressif/esp-modbus"
|
2023-12-10 15:13:11 +01:00
|
|
|
|
|
|
|
|
# context used by sphinx_idf_theme
|
2025-11-13 14:04:56 +00:00
|
|
|
html_context["github_user"] = "espressif" # noqa: F403,F401,F405
|
|
|
|
|
html_context["github_repo"] = "esp-modbus" # noqa: F403,F401,F405
|
|
|
|
|
html_static_path = ["../_static"]
|
2023-12-10 15:13:11 +01:00
|
|
|
|
|
|
|
|
# Extra options required by sphinx_idf_theme
|
2025-11-13 14:04:56 +00:00
|
|
|
project_slug = "esp-modbus"
|
|
|
|
|
versions_url = "./_static/modbus_docs_versions.js"
|
2023-12-10 15:13:11 +01:00
|
|
|
|
2025-11-13 14:04:56 +00:00
|
|
|
idf_targets = ["esp32"]
|
|
|
|
|
languages = ["en"]
|