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 alias for latest version #288

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

tisonkun
Copy link
Member

This closes apache/pulsar#17438.

The client-redirects plugin only works in production, so you should preview with yarn build and yarn serve to verify that /docs/ can be redirected to /docs/{latestVersion}. I made some changes to use concrete versions when possible.

@tisonkun tisonkun requested a review from urfreespace November 15, 2022 08:14
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun force-pushed the add-alias-for-latestversion branch from 74b3eed to 3fd7e5d Compare November 15, 2022 08:14
@urfreespace
Copy link
Member

@tisonkun in fact, you could mock the production model by run docusaurus build && docker-compose up

Copy link
Member

@urfreespace urfreespace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tisonkun
Copy link
Member Author

Merging...

@tisonkun tisonkun merged commit e5bb378 into apache:main Nov 15, 2022
@tisonkun tisonkun deleted the add-alias-for-latestversion branch November 15, 2022 10:44
urfreespace added a commit that referenced this pull request Dec 6, 2022
Signed-off-by: Li Li <urfree@apache.org>
@urfreespace urfreespace mentioned this pull request Dec 6, 2022
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.

[Doc] Create an alias with version number to latest stable version
2 participants