-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated CI config to publish documentation to gh-pages - Updated namespaces in examples to reflect recent change - Updated changelog to always have a link to the GitHub release page - Added references to the new package management repository - mkdocs-material allows us to highlight individual lines in code blocks, which should help with the readability of the configuration snippets.
- Loading branch information
Showing
10 changed files
with
246 additions
and
71 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 |
---|---|---|
|
@@ -39,3 +39,50 @@ jobs: | |
run: chmod -R a+rw ./target | ||
- name: Run integration tests | ||
run: ./integration-tests/run.sh | ||
|
||
publish_mkdocs_latest: | ||
if: github.event_name == 'push' and contains(github.ref, 'refs/tags/') | ||
runs-on: ubuntu-latest | ||
needs: build | ||
env: | ||
GIT_COMMITTER_NAME: mkdocs-mike | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.10 | ||
cache: 'pip' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install mkdocs singledispatch mkdocs-material mike | ||
- name: Deploy documentation with mike | ||
run: mike deploy ${{github.ref_name}} latest | ||
- name: Push gh-pages branch | ||
run: git push origin gh-pages:gh-pages | ||
|
||
|
||
publish_mkdocs_wip: | ||
if: github.event_name == 'push' and contains(github.ref, 'main') | ||
runs-on: ubuntu-latest | ||
needs: build | ||
env: | ||
GIT_COMMITTER_NAME: mkdocs-mike | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.10 | ||
cache: 'pip' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install mkdocs singledispatch mkdocs-material mike | ||
- name: Deploy documentation with mike | ||
run: mike deploy wip | ||
- name: Push gh-pages branch | ||
run: git push origin gh-pages:gh-pages |
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
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.