Skip to content

Add alias for latest version - #288

Merged
tisonkun merged 1 commit into
apache:mainfrom
tisonkun:add-alias-for-latestversion
Nov 15, 2022
Merged

tisonkun merged 1 commit into
apache:mainfrom
tisonkun:add-alias-for-latestversion

Conversation

@tisonkun

Copy link
Copy Markdown
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
@tisonkun
tisonkun force-pushed the add-alias-for-latestversion branch from 74b3eed to 3fd7e5d Compare November 15, 2022 08:14
@urfreespace

Copy link
Copy Markdown
Member

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

@urfreespace urfreespace left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@tisonkun

Copy link
Copy Markdown
Member Author

Merging...

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