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

docs website support multiple version #305

Merged
merged 11 commits into from
May 12, 2022

Conversation

Justinterest
Copy link
Contributor

@Justinterest Justinterest commented Apr 27, 2022

Purpose

  • support docs multiple version
  • make API version same with docs version

Changes

  • change docs routeBasePath from / to /docs
  • add client redirect plugin
  • remark plugin for variables and fragment support versions
  • add index page for redirecting to docs (fix docs link to / address build error)
  • rewrite the docs sync script to support lastest two version sync
  • add auto api global data and auto api generate route only lastest two version
  • change theme's navbaritem to support switch api version using global version
  • remove netlify redirect rules

@netlify
Copy link

netlify bot commented Apr 27, 2022

Deploy Preview for docs-taichi-graphics ready!

Name Link
🔨 Latest commit 5b98883
🔍 Latest deploy log https://app.netlify.com/sites/docs-taichi-graphics/deploys/627c7b6f20c15400095c8ecb
😎 Deploy Preview https://deploy-preview-305--docs-taichi-graphics.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@rexwangcc rexwangcc self-requested a review May 12, 2022 03:12
Copy link
Contributor

@rexwangcc rexwangcc left a comment

Choose a reason for hiding this comment

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

Looked through the preview page, LGTM! Thanks for the heavy-lifting work!

@rexwangcc rexwangcc enabled auto-merge (squash) May 12, 2022 03:14
@rexwangcc rexwangcc merged commit 5c9a78f into taichi-dev:master May 12, 2022
@Justinterest Justinterest deleted the feat/version branch June 10, 2022 07:55
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.

3 participants