Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy most recent version to latest on release #370

Merged
merged 1 commit into from
Sep 9, 2023
Merged

Conversation

discdiver
Copy link
Collaborator

@discdiver discdiver commented Sep 9, 2023

There is a bug in Mike where image url aliases don't get rewritten to latest.

As of Sept 2023 Mike version 1.2. Known issue that should be fixed in Mike 2.0. See: jimporter/mike#157

This change adds a single line of code that copies the latest numbered version folder to "latest" so someone doesn't have to do it manually.

Closes #207

@netlify
Copy link

netlify bot commented Sep 9, 2023

Deploy Preview for prefect-docs ready!

Name Link
🔨 Latest commit c3e5943
🔍 Latest deploy log https://app.netlify.com/sites/prefect-docs/deploys/64fc5717a9e3d80008196eae
😎 Deploy Preview https://deploy-preview-370--prefect-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@discdiver discdiver self-assigned this Sep 9, 2023
@discdiver discdiver changed the title Copy most recent version to latest on releases Copy most recent version to latest on release Sep 9, 2023
@discdiver discdiver merged commit f3f0767 into main Sep 9, 2023
4 checks passed
@discdiver discdiver deleted the discdiver-patch-1 branch September 9, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Versioned docs are referring to assets in "latest"
2 participants