forked from espressif/esp-modbus
esp-modbus: fix docs versions is not included because of CORS
This commit is contained in:
@@ -96,7 +96,6 @@ build_docs:
|
|||||||
after_script: []
|
after_script: []
|
||||||
script:
|
script:
|
||||||
- cd docs
|
- cd docs
|
||||||
- pip install -r requirements.txt
|
|
||||||
- build-docs -l en -t esp32
|
- build-docs -l en -t esp32
|
||||||
|
|
||||||
.deploy_docs_template:
|
.deploy_docs_template:
|
||||||
|
@@ -13,9 +13,11 @@ github_repo = 'espressif/esp-modbus'
|
|||||||
html_context['github_user'] = 'espressif'
|
html_context['github_user'] = 'espressif'
|
||||||
html_context['github_repo'] = 'esp-modbus'
|
html_context['github_repo'] = 'esp-modbus'
|
||||||
|
|
||||||
|
html_static_path = ["../_static"]
|
||||||
|
|
||||||
# Extra options required by sphinx_idf_theme
|
# Extra options required by sphinx_idf_theme
|
||||||
project_slug = 'esp-modbus'
|
project_slug = 'esp-modbus'
|
||||||
versions_url = 'https://raw.githubusercontent.com/espressif/esp-modbus/master/docs/docs_versions.js'
|
versions_url = './_static/modbus_docs_versions.js'
|
||||||
|
|
||||||
idf_targets = ['esp32', 'esp32s2', 'esp32c3']
|
idf_targets = ['esp32', 'esp32s2', 'esp32c3']
|
||||||
languages = ['en']
|
languages = ['en']
|
||||||
|
@@ -1 +1 @@
|
|||||||
esp-docs==0.2.0
|
esp-docs==0.2.1
|
Reference in New Issue
Block a user