[DOCS] - Generate board documentation automaticaly from platformio.ini (#1405)

* [DOCS] - Generate board documentation automaticaly from platformio.ini

To reduce maintenance effort

* [CI] Differentiate boards from platformio.ini

So that only one line can be commented to use customs environments
This commit is contained in:
Florian authored and GitHub committed 2023-01-20 09:04:18 -06:00
1 parent b4003d4ea1
commit 5297dff7bb
9 files changed
+1600 -1520

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
matrix:
environments:
- "rfbridge"
- "sonoff-rfbridge-direct"
- "rfbridge-direct"
- "esp32dev-all-test"
- "esp32dev-rf"
- "esp32dev-pilight-cc1101"
+2 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install requests
pip install requests pandas markdown pytablereader tabulate
npm install
- name: get lastest release tag
id: last_release
@@ -30,6 +30,7 @@ jobs:
run: sed -i "s/version_tag/${{steps.last_release.outputs.tag_name}}/g" docs/.vuepress/config.js
- name: Build documentation
run: |
python ./scripts/generate_board_docs.py
python ./scripts/gen_wu.py ${GITHUB_REPOSITORY}
npm run docs:build
- name: Deploy to GitHub Pages
+2 -1
View File
@@ -56,12 +56,13 @@ jobs:
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install requests
pip install requests pandas markdown pytablereader tabulate
npm install
- name: Set version tag from git
run: sed -i "s/version_tag/${GITHUB_REF#refs/tags/}/g" docs/.vuepress/config.js
- name: Build documentation
run: |
python ./scripts/generate_board_docs.py
python ./scripts/gen_wu.py ${GITHUB_REPOSITORY}
npm run docs:build
- name: Deploy to GitHub Pages