File: conf_common.py

package info (click to toggle)
esptool 4.7.0%2Bdfsg-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,636 kB
  • sloc: python: 19,038; ansic: 9,023; makefile: 188; sh: 50; javascript: 16
file content (60 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from esp_docs.conf_docs import *  # noqa: F403,F401

languages = ["en"]
idf_targets = [
    "esp8266",
    "esp32",
    "esp32s2",
    "esp32s3",
    "esp32c3",
    "esp32c2",
    "esp32c6",
    "esp32h2",
]

# link roles config
github_repo = "espressif/esptool"

# context used by sphinx_idf_theme
html_context["github_user"] = "espressif"
html_context["github_repo"] = "esptool"

html_static_path = ["../_static"]

# Conditional content
extensions += ["esp_docs.esp_extensions.dummy_build_system"]

ESP8266_DOCS = []

ESP32_DOCS = [
    "espefuse/*",
    "espsecure/*",
]

ESP32S2_DOCS = ESP32_DOCS

ESP32C3_DOCS = ESP32S2_DOCS

ESP32S3_DOCS = ESP32S2_DOCS

ESP32C2_DOCS = ESP32S3_DOCS

ESP32C6_DOCS = ESP32C2_DOCS

ESP32H2_DOCS = ESP32C6_DOCS

conditional_include_dict = {
    "esp8266": ESP8266_DOCS,
    "esp32": ESP32_DOCS,
    "esp32s2": ESP32S2_DOCS,
    "esp32c3": ESP32C3_DOCS,
    "esp32s3": ESP32S3_DOCS,
    "esp32c2": ESP32C2_DOCS,
    "esp32c6": ESP32C6_DOCS,
    "esp32h2": ESP32H2_DOCS,
}

# Extra options required by sphinx_idf_theme
project_slug = "esptool"

versions_url = "./_static/esptool_versions.js"