Skip to content

Commit

Permalink
Set up to use mike
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Dec 6, 2024
1 parent 3740095 commit 11e18f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
run: mkdocs build
- name: Build + Deploy Documentation
if: github.ref == 'refs/heads/main'
run: mkdocs gh-deploy --force
run: mike deploy --push 1.0 latest
8 changes: 7 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ plugins:
- glightbox
- search
- include-markdown
- mike:
canonical_version: latest
version_selector: true
- mkdocstrings:
default_handler: python
handlers:
Expand All @@ -99,4 +102,7 @@ repo_url: https://github.com/SWE-agent/SWE-ReX
repo_name: SWE-agent/SWE-ReX
edit_uri: edit/main/docs/
extra_css:
- css/mkdocstrings.css
- css/mkdocstrings.css
extra:
version:
provider: mike
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies = [

[project.optional-dependencies]
dev = [
"mike",
"mkdocs-material",
"mkdocs-glightbox",
"mkdocs-include-markdown-plugin",
Expand Down

0 comments on commit 11e18f5

Please sign in to comment.