-
Notifications
You must be signed in to change notification settings - Fork 171
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
[fix][website] exclude outdated versions of api documentation from search engine results #623
Conversation
Alternatively, it can be simplified to
I'm unsure which approach is more suitable. |
@tisonkun |
static/robots.txt
Outdated
Disallow: /api/*/2.10.x/ | ||
Disallow: /api/*/2.11.x/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC 2.10 and 2.11 are still maintained. If so, we should allow these two versions.
cc @Anonymitaet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Pending to merging...
Thank you! |
This PR fixes apache/pulsar#20390
improved version of #591
cc @Anonymitaet @tisonkun
doc
doc-required
doc-not-needed
doc-complete