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

Add a latest route for permalinking #11

Closed
HCLarsen opened this issue Oct 1, 2023 · 1 comment
Closed

Add a latest route for permalinking #11

HCLarsen opened this issue Oct 1, 2023 · 1 comment

Comments

@HCLarsen
Copy link

HCLarsen commented Oct 1, 2023

If I were to create a link to the docs from a blog post or static site, it links to a specific version. Unlike the Crystal stdlib docs, I don't see a way to link to the newest version of the docs, instead of a specific static version. This could be problematic if I were to link to them from a static website.

@nobodywasishere
Copy link
Owner

Ah actually this is already supported, but I guess not well documented. You can link to either crystaldoc.info/service/username/project or crystaldoc.info/service/username/project/latest and they'll point to the latest non-nightly tag that successfully built

@HCLarsen HCLarsen closed this as completed Oct 2, 2023
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

No branches or pull requests

2 participants