pingcap / website-docs

The next generation of PingCAP Docs. Powered by Gatsby ⚛️.
https://docs.pingcap.com/
MIT License
22 stars 33 forks source link

refactor: use packages and upgrade Gatsby to v4 #179

Closed g1eny0ung closed 2 years ago

g1eny0ung commented 2 years ago

This PR mainly refactors the whole website by extracting markdown processing-related logic into packages and upgrading Gatsby to v4.

Also, many major logical changes were made during the upgrade. In general, they can be grouped into the following sections:

Packages Related

Gatsby Related

Components Related

Dev Related

CI Related

netlify[bot] commented 2 years ago

❌ Deploy Preview for tidb-5-3-docs-zh failed.

🔨 Explore the source changes: 37a14771708b5cb47e22acf4846137f61de67585

🔍 Inspect the deploy log: https://app.netlify.com/sites/tidb-5-3-docs-zh/deploys/618fad62d83dbf00089f6084

netlify[bot] commented 2 years ago

✔️ Deploy Preview for quirky-swirles-2928a8 ready!

🔨 Explore the source changes: 1a410c416482bade51a30cc54933b748aa4efaa1

🔍 Inspect the deploy log: https://app.netlify.com/sites/quirky-swirles-2928a8/deploys/61888786bb060c0008a04c3d

😎 Browse the preview: https://deploy-preview-179--quirky-swirles-2928a8.netlify.app

g1eny0ung commented 2 years ago

I will now merge this PR.