mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
Add docusaurus faster (#149)
Leads to about half the build time. Reviewed-on: https://gitea.com/gitea/docs/pulls/149 Co-authored-by: TheFox0x7 <thefox0x7@noreply.gitea.com> Co-committed-by: TheFox0x7 <thefox0x7@noreply.gitea.com>
This commit is contained in:
committed by
techknowlogick
parent
1ddf6a1822
commit
301154989a
@@ -155,7 +155,9 @@ const config = {
|
|||||||
onBrokenLinks: 'warn',
|
onBrokenLinks: 'warn',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
favicon: 'img/favicon.png',
|
favicon: 'img/favicon.png',
|
||||||
|
future:{
|
||||||
|
experimental_faster: true
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
[
|
||||||
'docusaurus-plugin-plausible',
|
'docusaurus-plugin-plausible',
|
||||||
|
|||||||
1107
package-lock.json
generated
1107
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^3.4.0",
|
"@docusaurus/core": "^3.4.0",
|
||||||
|
"@docusaurus/faster": "^3.7.0",
|
||||||
"@docusaurus/preset-classic": "^3.4.0",
|
"@docusaurus/preset-classic": "^3.4.0",
|
||||||
"@easyops-cn/docusaurus-search-local": "^0.47.0",
|
"@easyops-cn/docusaurus-search-local": "^0.47.0",
|
||||||
"@emotion/react": "^11.11.3",
|
"@emotion/react": "^11.11.3",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
border-color: var(--ifm-color-white);
|
border-color: var(--ifm-color-white);
|
||||||
}
|
}
|
||||||
|
|
||||||
.input:placeholder {
|
.input::placeholder {
|
||||||
color: var(--palette-pale-blue);
|
color: var(--palette-pale-blue);
|
||||||
font-size: var(--font-size-normal);
|
font-size: var(--font-size-normal);
|
||||||
font-weight: var(--ifm-font-weight-bold);
|
font-weight: var(--ifm-font-weight-bold);
|
||||||
|
|||||||
Reference in New Issue
Block a user