Skip to content

Commit 5c0a430

Browse files
committed
Tweaks to mike's config
1 parent 3ede5cd commit 5c0a430

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
uses: ./.github/actions/deploy-docs
7373
with:
7474
version: ${{ env.CURRENT_VERSION }}
75-
alias: stable
76-
title: Stable
75+
alias: latest
76+
title: Latest
7777
email: ${{ env.GITHUB_BOT_EMAIL }}
7878
username: ${{ env.GITHUB_BOT_USERNAME }}
7979
set-default: 'true'

.github/workflows/tox.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
uses: ./.github/actions/deploy-docs
113113
with:
114114
version: devel
115-
alias: latest
116-
title: Latest
115+
alias: develop
116+
title: Development
117117
email: ${{ env.GITHUB_BOT_EMAIL }}
118118
username: ${{ env.GITHUB_BOT_USERNAME }}
119119
- name: Build and publish to TestPyPI

CONTRIBUTING.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ Examples for hidden imports and plots are available in the notebooks, e.g. in
179179
## Documentation
180180

181181
API documentation and examples from notebooks are built with
182-
[mkdocs](https://www.mkdocs.org/).
182+
[mkdocs](https://www.mkdocs.org/), with versioning handled by
183+
[mike](https://github.com/jimporter/mike).
183184

184185
Notebooks are an integral part of the documentation as well, please read
185186
[the section on notebooks](#notebooks) above.
@@ -191,8 +192,8 @@ done in CI:
191192
mkdocs build
192193
```
193194

194-
Locally, you can use this command instead to continuously rebuild
195-
documentation on changes to the `docs` and `src` folder:
195+
Locally, you can use this command instead to continuously rebuild documentation
196+
on changes to the `docs` and `src` folder:
196197

197198
```bash
198199
mkdocs serve
@@ -406,11 +407,11 @@ If running in interactive mode (without `-y|--yes`), the script will output a
406407
summary of pending changes and ask for confirmation before executing the
407408
actions.
408409

409-
Once this is done, a tag will be created on the repository.
410-
You should then create a Github
410+
Once this is done, a tag will be created on the repository. You should then
411+
create a GitHub
411412
[release](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release)
412-
for that tag. That will a trigger a CI pipeline that will
413-
automatically create a package and publish it from CI to PyPI.
413+
for that tag. That will a trigger a CI pipeline that will automatically create a
414+
package and publish it from CI to PyPI.
414415

415416
### Manual release process
416417

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ site_url: "https://appliedai-initiative.github.io/pyDVL/"
44
repo_name: "appliedAI-Initiative/pyDVL"
55
repo_url: "https://github.com/appliedAI-Initiative/pyDVL"
66
copyright: "Copyright © AppliedAI Institute gGmbH"
7+
remote_branch: gh-pages
78

89
watch:
910
- src/pydvl
@@ -30,7 +31,8 @@ plugins:
3031
auto_caption: true
3132
caption_position: bottom
3233
- macros
33-
- mike
34+
- mike:
35+
canonical_version: stable
3436
- search
3537
- section-index
3638
- alias:

0 commit comments

Comments
 (0)