docs: Mkdocs i18n support (#5072)

Signed-off-by: Yifei DIng <yifeiding@protonmail.com>
This commit is contained in:
Yifei Ding authored and GitHub committed 2022-02-14 11:29:41 -05:00
1 parent f0241d7dec
commit 61329049a6
6 files changed
+60 -22

No files matched your search

+4
View File
@@ -7,6 +7,8 @@ on:
- docs/**
- mkdocs.yml
- .github/workflows/klipper3d-deploy.yaml
schedule:
- cron: "0 0 * * *"
jobs:
deploy:
runs-on: ubuntu-latest
@@ -24,6 +26,8 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: pip install -r docs/_klipper3d/mkdocs-requirements.txt
- name: Fetch translations
run: docs/_klipper3d/fetch-translations.sh
- name: Build and deploy klipper3d
run: |
mkdocs gh-deploy --config-file docs/_klipper3d/mkdocs.yml --remote-branch gh-pages --force --verbose