-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs overhaul (kalico) * rename references of branch `master` to `main` * add migration page * fix punctuation * remove releases page * fix repo_name * update logos * rename to Kalico in Readme * update discord banner * fix discord url in readme * docs: fix refs --------- Co-authored-by: Rogerio Goncalves <[email protected]>
- Loading branch information
1 parent
815b23e
commit f768ea6
Showing
80 changed files
with
890 additions
and
1,264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: klipper3d deploy | ||
name: docs deployment | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- docs/** | ||
- .github/workflows/klipper3d-deploy.yaml | ||
- .github/workflows/cd-docs.yaml | ||
|
||
jobs: | ||
deploy: | ||
|
@@ -20,17 +20,21 @@ jobs: | |
python-version: "3.10" | ||
|
||
- uses: actions/cache@v3 | ||
id: pip-cache | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('docs/_klipper3d/mkdocs-requirements.txt') }} | ||
key: ${{ runner.os }}-pip-${{ hashFiles('docs/_kalico/mkdocs-requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: pip install -r docs/_klipper3d/mkdocs-requirements.txt | ||
if: steps.pip-cache.outputs.cache-hit != 'true' | ||
run: pip install -r docs/_kalico/mkdocs-requirements.txt | ||
|
||
- name: Build MkDocs Pages | ||
run: docs/_klipper3d/build-translations.sh | ||
run: | | ||
cd docs/ | ||
mkdocs build -f _kalico/mkdocs.yml | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: docs deployment | ||
on: | ||
pull_request: | ||
paths: | ||
- docs/** | ||
- .github/workflows/ci-docs_test.yaml | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- uses: actions/cache@v3 | ||
id: pip-cache | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('docs/_kalico/mkdocs-requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
if: steps.pip-cache.outputs.cache-hit != 'true' | ||
run: pip install -r docs/_kalico/mkdocs-requirements.txt | ||
|
||
- name: Build MkDocs Pages | ||
run: | | ||
cd docs/ | ||
mkdocs build -f _kalico/mkdocs.yml --strict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.