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

Redirect your.project.site/api to javadoc.io API docs #319

Closed
armanbilge opened this issue Jun 22, 2022 · 0 comments · Fixed by #335
Closed

Redirect your.project.site/api to javadoc.io API docs #319

armanbilge opened this issue Jun 22, 2022 · 0 comments · Fixed by #335

Comments

@armanbilge
Copy link
Member

https://typelevel.org/cats/api/ is easy to remember and an eager suggestion by my browser, but nowadays I really want to go to https://www.javadoc.io/doc/org.typelevel/cats-docs_2.12/latest/

So seems like we should use the meta-refresh trick to get an auto-redirect there and integrate this into the site plugin.

Annoyingly this could be a breaking change if someone was actually putting something at /api. But I think Laika would give priority to that. Also I really want this so I might look the other way 😬

@armanbilge armanbilge changed the title Redirect your.project.site/api to javadoc API docs Redirect your.project.site/api to javadoc.io API docs Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant