-
Notifications
You must be signed in to change notification settings - Fork 850
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 document website #604
Add document website #604
Conversation
Codecov Report
@@ Coverage Diff @@
## master #604 +/- ##
=======================================
Coverage 55.78% 55.78%
=======================================
Files 68 68
Lines 4383 4383
=======================================
Hits 2445 2445
Misses 1768 1768
Partials 170 170 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: cwen0 <[email protected]>
Signed-off-by: cwen0 <[email protected]>
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} PingCAP, Inc. Built with Docusaurus.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'template literal syntax' is only available in ES6 (use 'esversion: 6').
description="Description will go into a meta tag in <head />"> | ||
<header className={classnames('hero hero--primary', styles.heroBanner)}> | ||
<div className="container"> | ||
<h1 className="hero__title">{siteConfig.title}</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclosed regular expression.
Unrecoverable syntax error. (32% scanned).
import CodeSnippet from "@site/src/theme/CodeSnippet"; | ||
|
||
const install = `# Install on Kubernetes | ||
curl -sSL https://raw.githubusercontent.com/pingcap/chaos-mesh/master/install.sh | sh` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
Signed-off-by: cwen0 <[email protected]>
description="Description will go into a meta tag in <head />"> | ||
<header className={classnames('hero hero--primary', styles.heroBanner)}> | ||
<div className="container"> | ||
<h1 className="hero__title">{siteConfig.title}</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclosed regular expression.
Unrecoverable syntax error. (33% scanned).
Signed-off-by: cwen0 <[email protected]>
Signed-off-by: cwen0 <[email protected]>
Signed-off-by: cwen0 <[email protected]>
{line.map((token, key) => ( | ||
<span {...getTokenProps({ token, key })} /> | ||
))} | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclosed regular expression.
Unrecoverable syntax error. (83% scanned).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
/run-all-tests |
themeConfig: { | ||
defaultDarkMode: false, | ||
algolia: { | ||
apiKey: '1d330c3dae1c5376607ecee61b4e2271', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it safe to make it public?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the public API key to use in frontend code and Search-Only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Thanks @cwen0
* init website Signed-off-by: cwen0 <[email protected]> * fix comment Signed-off-by: cwen0 <[email protected]> * address comment Signed-off-by: cwen0 <[email protected]> * update readme Signed-off-by: cwen0 <[email protected]> * add CNAME Signed-off-by: cwen0 <[email protected]> Co-authored-by: pingcap-github-bot <[email protected]> Signed-off-by: shonge <[email protected]>
* init website Signed-off-by: cwen0 <[email protected]> * fix comment Signed-off-by: cwen0 <[email protected]> * address comment Signed-off-by: cwen0 <[email protected]> * update readme Signed-off-by: cwen0 <[email protected]> * add CNAME Signed-off-by: cwen0 <[email protected]> Co-authored-by: pingcap-github-bot <[email protected]>
What problem does this PR solve?
What is changed and how does it work?
Check List
Tests