mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 22:14:05 -06:00
docs: Mkdocs i18n support (#5072)
Signed-off-by: Yifei DIng <yifeiding@protonmail.com>
This commit is contained in:
parent
f0241d7dec
commit
61329049a6
6 changed files with 60 additions and 22 deletions
4
.github/workflows/klipper3d-deploy.yaml
vendored
4
.github/workflows/klipper3d-deploy.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue