Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Generated by Copilot at 622a232
Summary
🚀📊🐛
This pull request updates the documentation site of sealos, a Kubernetes cluster management tool. It adds a new environment variable
BD_TOKEN
for the Baidu OCPC API, which is used to upload conversion data. It also modifies thedocusaurus.config.js
file and some hooks and components to improve the site's functionality and performance.Walkthrough
BD_TOKEN
environment variable to three workflows for Baidu OCPC API integration (link, link, link).gitignore
file todocs/website
folder to ignore.env
file (link).env
file usingdotenv
module indocusaurus.config.js
(link)customFields
key frombdToken
toBD_TOKEN
indocusaurus.config.js
(link)linkproxy.js
script tag indocusaurus.config.js
(link)headTags
indocusaurus.config.js
(link)package.json
of documentation site (link, link, link)customFields
value and add optional chaining operator touseUploadData
hook (link, link)useWindow
hook (link)newType
parameter from51
to1
inuploadConvertData
function call inHomeHeader
component (link)linkInterception.js
script tag fromHome
component (link)linkproxy.js
file to intercept and handle links on documentation site (link)