doc: update docusaurus deps (#866)

This commit is contained in:
Seth Bertalotto 2021-07-06 10:58:53 -07:00 committed by GitHub
parent ed00ca3a6c
commit 8408d81e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21439 additions and 7385 deletions

View File

@ -9,7 +9,7 @@ function CodeBlock({ children, language = 'html', full = false, wrap = false })
return (
<div className={fullClass}>
<div className={codeClass}>
<SyntaxHighlighter language={language} style={docco} wrapLines={full}>{children}</SyntaxHighlighter>
<SyntaxHighlighter language={language} style={docco} wrapLongLines={full}>{children}</SyntaxHighlighter>
</div>
</div>
);

View File

@ -13,6 +13,7 @@ module.exports = {
'@docusaurus/plugin-content-pages',
'@docusaurus/plugin-google-analytics',
],
themes: ['@docusaurus/theme-classic'],
themeConfig: {
googleAnalytics: {
trackingID: 'UA-41480445-1',

28355
site/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,16 +11,17 @@
"swizzle": "docusaurus swizzle"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.53",
"@docusaurus/plugin-content-pages": "^2.0.0-alpha.53",
"@docusaurus/plugin-google-analytics": "^2.0.0-alpha.53",
"@docusaurus/core": "^2.0.0-beta.3",
"@docusaurus/plugin-content-pages": "^2.0.0-beta.3",
"@docusaurus/plugin-google-analytics": "^2.0.0-beta.3",
"@docusaurus/preset-classic": "^2.0.0-beta.3",
"classnames": "^2.2.6",
"common-tags": "^1.8.0",
"gzip-size": "^5.1.1",
"gzip-size": "^6.0.0",
"js-beautify": "^1.11.0",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-syntax-highlighter": "^12.2.1"
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-syntax-highlighter": "^15.4.3"
},
"browserslist": {
"production": [

View File

@ -1,4 +1,18 @@
/* stylelint-disable docusaurus/copyright-header */
/* overwrite docusaurus styles */
h3,
p {
margin: 1em 0;
}
table {
display: table;
width: auto;
}
table tr:nth-child(2n) {
background-color: transparent;
}
.hero {
display: block;
padding: 0;
@ -29,6 +43,9 @@
color: #666;
}
a:hover {
text-decoration: none;
}
a.button-cta,
a.button-secondary {
margin: 0.25em;