docs: use the version file from the main branch

As we are using the static file for showing versions in the drop-down
this would be outdated with each new release, so use it from the main
branch, with the assumption that it would always be up-to-date.
This commit is contained in:
Shubham Patil
2025-09-24 09:56:11 +05:30
parent 157245702e
commit b2002c2cbb
2 changed files with 1 additions and 19 deletions
-18
View File
@@ -1,18 +0,0 @@
var DOCUMENTATION_VERSIONS = {
DEFAULTS: { has_targets: false,
supported_targets: [ "esp32" ]
},
VERSIONS: [
{ name: "latest", has_targets: true, supported_targets: [ "esp32", "esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32s3", "esp32h2", "esp32p4" ] },
],
IDF_TARGETS: [
{ text: "ESP32", value: "esp32" },
{ text: "ESP32-S3", value: "esp32s3" },
{ text: "ESP32-C2", value: "esp32c2" },
{ text: "ESP32-C3", value: "esp32c3" },
{ text: "ESP32-C5", value: "esp32c5" },
{ text: "ESP32-C6", value: "esp32c6" },
{ text: "ESP32-H2", value: "esp32h2" },
{ text: "ESP32-P4", value: "esp32p4" },
]
};
+1 -1
View File
@@ -57,7 +57,7 @@ project_slug = 'esp-matter'
# Contains info used for constructing target and version selector
# Can also be hosted externally, see esp-idf for example
versions_url = '_static/esp_sdk_matter_version.js'
versions_url = 'https://docs.espressif.com/projects/esp-matter/en/latest/esp32/_static/esp_sdk_matter_version.js'
# Final PDF filename will contains target and version
pdf_file_prefix = u'esp-matter'