arduino-esp32/docs/conf_common.py

55 lines
1.2 KiB
Python

# ---------------------------------------------------------------
from esp_docs.conf_docs import * # noqa: F403,F401
languages = ["en"]
# idf_targets = [
# "esp32",
# "esp32s2",
# "esp32s3",
# "esp32c3",
# "esp32c6",
# "esp32h2",
# ]
# link roles config
github_repo = "espressif/arduino-esp32"
# context used by sphinx_idf_theme
html_context["github_user"] = "espressif"
html_context["github_repo"] = "arduino-esp32"
html_static_path = ["../_static"]
# Conditional content
extensions += ['sphinx_copybutton',
'sphinx_tabs.tabs',
'esp_docs.esp_extensions.dummy_build_system',
]
# ESP32_DOCS = [
# "index.rst",
# ]
# ESP32S2_DOCS = ESP32_DOCS
# ESP32C3_DOCS = ESP32S2_DOCS
# ESP32S3_DOCS = ESP32S2_DOCS
# ESP32C6_DOCS = ESP32S2_DOCS
# ESP32H2_DOCS = ESP32S2_DOCS
# conditional_include_dict = {
# "esp32": ESP32_DOCS,
# "esp32s2": ESP32S2_DOCS,
# "esp32c3": ESP32C3_DOCS,
# "esp32s3": ESP32S3_DOCS,
# "esp32c6": ESP32C6_DOCS,
# "esp32h2": ESP32H2_DOCS,
# }
# Extra options required by sphinx_idf_theme
project_slug = "arduino-esp32"
# versions_url = "./../_static/arduino_versions.js"