-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Milestone
Description
Summary
After running a pipeline which builds a site using Material for MkDocs and mike, all redirects are gone (the general URL for docs doesn't work, e.g. https://my.docs.com). The latest folder is deleted by mike so the only way to open docs is to specify their version in the URL, e.g. https://my.docs.com/2.0. mike adds the latest file which contains the latest version number but it does not seem to be used anywhere.
Configuration and Logs
The git repository is private (GitLab), password-protected docs are deployed to Netlify from the pages branch.
- MkDocs 1.5.3 and mike 2.0.0
- CI scripts which call mike (first deploys docs without changing the
latestalias):
script:
- mike deploy --update-aliases -b $PAGES_BRANCH -p $VERSION script:
- mike deploy --update-aliases -p -b $PAGES_BRANCH $VERSION latest
- mike set-default -b $PAGES_BRANCH -p latestMetadata
Metadata
Assignees
Labels
No labels