feat(docs): new docs-build paradigm... (#7597)

This commit is contained in:
Victor Wheeler
2025-02-18 18:51:47 -07:00
committed by GitHub
parent 97aa6b8629
commit 1d0bb3e8c6
9 changed files with 518 additions and 423 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ on:
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
# Ensure that only one commit will be running tests at a time on each PR
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
env:
@@ -64,9 +64,9 @@ jobs:
- name: Build examples (with cache)
run: scripts/build_html_examples.sh
- name: Build docs
run: docs/build.py skip_latex
run: docs/build.py html
- name: Remove .doctrees
run: rm -rf out_html/.doctrees
run: rm -rf docs/output/html/.doctrees
- name: Retrieve version
run: |
echo "::set-output name=VERSION_NAME::$(scripts/find_version.sh)"
@@ -77,7 +77,7 @@ jobs:
token: ${{ secrets.LVGL_BOT_TOKEN }}
repository-name: lvgl/docs
branch: gh-pages # The branch the action should deploy to.
folder: out_html # The folder the action should deploy.
folder: docs/output/html # The folder the action should deploy.
target-folder: ${{ steps.version.outputs.VERSION_NAME }}
git-config-name: lvgl-bot
git-config-email: lvgl-bot@users.noreply.github.com
@@ -89,7 +89,7 @@ jobs:
token: ${{ secrets.LVGL_BOT_TOKEN }}
repository-name: lvgl/docs
branch: gh-pages # The branch the action should deploy to.
folder: out_html # The folder the action should deploy.
folder: docs/output/html # The folder the action should deploy.
target-folder: master
git-config-name: lvgl-bot
git-config-email: lvgl-bot@users.noreply.github.com