mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
Merge branch 'docs/add_html_download_link' into 'master'
feat(docs): Replace PDF download link with HTML zip download link Closes IDFCI-2216 and DOC-9689 See merge request espressif/esp-idf!35705
This commit is contained in:
commit
813b98ca8f
@ -139,19 +139,6 @@ build_docs_html_partial:
|
|||||||
- DOCLANG: "zh_CN"
|
- DOCLANG: "zh_CN"
|
||||||
DOCTGT: "esp32p4"
|
DOCTGT: "esp32p4"
|
||||||
|
|
||||||
build_docs_pdf:
|
|
||||||
extends:
|
|
||||||
- .build_docs_template
|
|
||||||
- .doc-rules:build:docs-full
|
|
||||||
artifacts:
|
|
||||||
when: always
|
|
||||||
paths:
|
|
||||||
- docs/_build/*/*/latex/*
|
|
||||||
expire_in: 4 days
|
|
||||||
allow_failure: true # TODO IDFCI-2216
|
|
||||||
variables:
|
|
||||||
DOC_BUILDERS: "latex"
|
|
||||||
|
|
||||||
.deploy_docs_template:
|
.deploy_docs_template:
|
||||||
image: $ESP_IDF_DOC_ENV_IMAGE
|
image: $ESP_IDF_DOC_ENV_IMAGE
|
||||||
variables:
|
variables:
|
||||||
@ -180,8 +167,6 @@ deploy_docs_preview:
|
|||||||
optional: true
|
optional: true
|
||||||
- job: build_docs_html_full
|
- job: build_docs_html_full
|
||||||
optional: true
|
optional: true
|
||||||
- job: build_docs_pdf
|
|
||||||
optional: true
|
|
||||||
variables:
|
variables:
|
||||||
TYPE: "preview"
|
TYPE: "preview"
|
||||||
# older branches use DOCS_DEPLOY_KEY, DOCS_SERVER, DOCS_SERVER_USER, DOCS_PATH for preview server so we keep these names for 'preview'
|
# older branches use DOCS_DEPLOY_KEY, DOCS_SERVER, DOCS_SERVER_USER, DOCS_PATH for preview server so we keep these names for 'preview'
|
||||||
@ -202,7 +187,6 @@ deploy_docs_production:
|
|||||||
dependencies: # set dependencies to null to avoid missing artifacts issue
|
dependencies: # set dependencies to null to avoid missing artifacts issue
|
||||||
needs: # ensure runs after push_to_github succeeded
|
needs: # ensure runs after push_to_github succeeded
|
||||||
- build_docs_html_full
|
- build_docs_html_full
|
||||||
- build_docs_pdf
|
|
||||||
- job: push_to_github
|
- job: push_to_github
|
||||||
artifacts: false
|
artifacts: false
|
||||||
variables:
|
variables:
|
||||||
|
@ -330,6 +330,7 @@ extensions += ['sphinx_copybutton',
|
|||||||
'esp_docs.idf_extensions.kconfig_reference',
|
'esp_docs.idf_extensions.kconfig_reference',
|
||||||
'esp_docs.idf_extensions.gen_idf_tools_links',
|
'esp_docs.idf_extensions.gen_idf_tools_links',
|
||||||
'esp_docs.esp_extensions.run_doxygen',
|
'esp_docs.esp_extensions.run_doxygen',
|
||||||
|
'esp_docs.esp_extensions.add_html_zip',
|
||||||
'linuxdoc.rstFlatTable', # https://return42.github.io/linuxdoc/linuxdoc-howto/table-markup.html#flat-table
|
'linuxdoc.rstFlatTable', # https://return42.github.io/linuxdoc/linuxdoc-howto/table-markup.html#flat-table
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
|
# type: ignore
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# English Language RTD & Sphinx config file
|
# English Language RTD & Sphinx config file
|
||||||
#
|
#
|
||||||
# Uses ../conf_common.py for most non-language-specific settings.
|
# Uses ../conf_common.py for most non-language-specific settings.
|
||||||
|
|
||||||
# Importing conf_common adds all the non-language-specific
|
# Importing conf_common adds all the non-language-specific
|
||||||
# parts to this conf module
|
# parts to this conf module
|
||||||
try:
|
try:
|
||||||
@ -25,3 +25,5 @@ copyright = u'2016 - {}, Espressif Systems (Shanghai) Co., Ltd'.format(current_y
|
|||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
language = 'en'
|
language = 'en'
|
||||||
|
|
||||||
|
html_zip = f'esp-idf-{language}-{release}' # noqa: F405
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
|
# type: ignore
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# English Language RTD & Sphinx config file
|
# English Language RTD & Sphinx config file
|
||||||
#
|
#
|
||||||
# Uses ../conf_common.py for most non-language-specific settings.
|
# Uses ../conf_common.py for most non-language-specific settings.
|
||||||
|
|
||||||
# Importing conf_common adds all the non-language-specific
|
# Importing conf_common adds all the non-language-specific
|
||||||
# parts to this conf module
|
# parts to this conf module
|
||||||
try:
|
try:
|
||||||
@ -25,3 +25,5 @@ copyright = u'2016 - {} 乐鑫信息科技(上海)股份有限公司'.format
|
|||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
language = 'zh_CN'
|
language = 'zh_CN'
|
||||||
|
|
||||||
|
html_zip = f'esp-idf-{language}-{release}' # noqa: F405
|
||||||
|
Loading…
x
Reference in New Issue
Block a user