esp-sr/docs/conf_common.py
2022-12-19 14:07:28 +08:00

27 lines
734 B
Python
Executable File

from esp_docs.conf_docs import * # noqa: F403,F401
languages = ['en', 'zh_CN']
idf_targets = ['esp32', 'esp32s3']
extensions += ['sphinx_copybutton',
'sphinxcontrib.wavedrom',
]
# link roles config
github_repo = 'espressif/esp-sr'
# context used by sphinx_idf_theme
html_context['github_user'] = 'espressif'
html_context['github_repo'] = 'esp-sr'
html_static_path = ['../_static']
# Extra options required by sphinx_idf_theme
project_slug = 'esp-sr'
# Contains info used for constructing target and version selector
# Can also be hosted externally, see esp-idf for example
versions_url = '_static/docs_version.js'
# Final PDF filename will contains target and version
pdf_file_prefix = u'esp-sr'