mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
doc: update docusaurus deps (#866)
This commit is contained in:
parent
ed00ca3a6c
commit
8408d81e98
@ -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>
|
||||
);
|
||||
|
@ -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
28355
site/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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": [
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user