arduino-esp32/docs/conf_common.py
Lucas Saavedra Vaz da5c6ab9ae
Refactor repository with pre-commit hooks (#9515)
* Add Config

* Add Cache and remove pre-commit action

* [pre-commit.ci lite] apply automatic fixes

* Remove freeze

* Fix

* Update action

* Use latest stable Python 3 version

* Improve caching

* Improve cache tag

* Improve bot message

* fix(typos): Fix typos

* fix(typos): Fix more typos

* refactor(udp_server): Convert script from Python 2 to 3

* Fix whitespace

* Clang-format fixes

* Prettier fixes

* Black formatting

* Manual fixes

* Line endings

* Fix flake and make Vale manual

* Fix flake and reformat

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2024-04-15 19:40:56 +03:00

56 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" # noqa: F405
html_context["github_repo"] = "arduino-esp32" # noqa: F405
html_static_path = ["../_static"]
# Conditional content
extensions += [ # noqa: F405
"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"