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 e1d72dcf25
commit 88d5477fdb
2 changed files with 1 additions and 17 deletions
-16
View File
@@ -1,16 +0,0 @@
var DOCUMENTATION_VERSIONS = {
DEFAULTS: { has_targets: false,
supported_targets: [ "esp32" ]
},
VERSIONS: [
{ name: "latest", has_targets: true, supported_targets: [ "esp32", "esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2" ] },
],
IDF_TARGETS: [
{ text: "ESP32", value: "esp32" },
{ text: "ESP32-S3", value: "esp32s3" },
{ text: "ESP32-C2", value: "esp32c2" },
{ text: "ESP32-C3", value: "esp32c3" },
{ text: "ESP32-C6", value: "esp32c6" },
{ text: "ESP32-H2", value: "esp32h2" },
]
};
+1 -1
View File
@@ -23,7 +23,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-docs'