Files
esp-matter/docs/conf_common.py
Shubham Patil 11e32439f2 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.
2025-09-29 10:59:18 +05:30

30 lines
988 B
Python

from esp_docs.conf_docs import * # noqa: F403,F401
languages = ['en']
idf_targets = ['esp32', 'esp32s3', 'esp32c2', 'esp32c3', 'esp32c6', 'esp32h2']
extensions += ['sphinx_copybutton',
# Needed as a trigger for running doxygen
'esp_docs.esp_extensions.dummy_build_system',
'esp_docs.esp_extensions.run_doxygen',
]
# link roles config
github_repo = 'espressif/esp-matter'
# context used by sphinx_idf_theme
html_context['github_user'] = 'espressif'
html_context['github_repo'] = 'esp-matter'
html_static_path = ['../_static']
# Extra options required by sphinx_idf_theme
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 = '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'