-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from eshwen/esh-use-mike-docs
Use mike for versioned docs
- Loading branch information
Showing
8 changed files
with
137 additions
and
70 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 |
---|---|---|
|
@@ -11,11 +11,27 @@ concurrency: | |
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: 'write' | ||
actions: 'write' | ||
|
||
uses: eshwen/adrenaline/.github/workflows/[email protected] | ||
with: | ||
python-version: '3.10' | ||
changelog: 'CHANGELOG.md' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: eshwen/adrenaline/[email protected] | ||
with: | ||
python-version: '3.10' | ||
install-dev-deps: true | ||
|
||
- name: Get version number | ||
uses: nowsprinting/check-version-format-action@v4 | ||
id: version | ||
with: | ||
prefix: 'v' | ||
|
||
- name: Build docs | ||
run: | | ||
git fetch origin gh-pages --depth=1 | ||
git config user.name github-actions # Required for Mike | ||
git config user.email [email protected] | ||
poetry run mike deploy --update-aliases --push ${{ steps.version.outputs.major_without_prefix }}.${{ steps.version.outputs.minor }} latest |
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 |
---|---|---|
|
@@ -136,6 +136,3 @@ dmypy.json | |
|
||
# Ruff | ||
.ruff_cache/ | ||
|
||
# Auto-generated changelog | ||
CHANGELOG.md |
This file was deleted.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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