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

Very old scaladoc on typelevel.org #4369

Open
Jasper-M opened this issue Jan 9, 2023 · 3 comments
Open

Very old scaladoc on typelevel.org #4369

Jasper-M opened this issue Jan 9, 2023 · 3 comments

Comments

@Jasper-M
Copy link
Contributor

Jasper-M commented Jan 9, 2023

The cats website now points you to javadoc.io for accessing the scaladoc. However you can also still access https://typelevel.org/cats/api/cats/index.html which gives you all the docs for some very old version. That page is also the second search result that google gives me for cats scaladoc.

@armanbilge
Copy link
Member

In theory we can delete those old scaladocs (bdac30a), but it may break some inbound links ...

@Jasper-M
Copy link
Contributor Author

Jasper-M commented Jan 9, 2023

Perhaps you could adapt the redirect rule from

cats/api -> https://www.javadoc.io/doc/org.typelevel/cats-docs_2.13/latest

to

cats/api/$path -> https://www.javadoc.io/doc/org.typelevel/cats-docs_2.13/latest/$path

Or at least add some warning header over every page that points out that you're looking at outdated documentation.

But I don't know if there's an easy way to do either of these things with gh-pages other than editing every html page under cats/api/.

@Jasper-M
Copy link
Contributor Author

That page is also the second search result that google gives me for cats scaladoc

I can't be the only person who keeps falling into this trap... Is there at least some way to stop search engines from indexing the old scaladoc?

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