Skip to content

Commit

Permalink
docs website & mkdocs.yml: redirect /branches/ URL
Browse files Browse the repository at this point in the history
After this is merged, https://martinvonz.github.io/jj/prerelease/branches/
should redirect to https://martinvonz.github.io/jj/prerelease/bookmarks/
instead of resulting in a 404 error and old links to docs
(from posts or from Google index) breaking.
  • Loading branch information
ilyagr committed Sep 16, 2024
1 parent a684076 commit 1c397b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mkdocs-offline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ plugins:
- search
- redirects:
redirect_maps:
branches.md: bookmarks.md
# Turns out the `offline` plugin forces the following
# option no matter what, and therefore shouldn't be
# used in the main config file.
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ plugins:
- search
- redirects:
redirect_maps:
branches.md: bookmarks.md

# Not all of these may be necessary, especially since the material
# theme substitutes for some of them
Expand Down

0 comments on commit 1c397b5

Please sign in to comment.