Skip to content

Commit e827932

Browse files
authored
Merge branch 'main' into add/juicefs-mounting
2 parents a577668 + d0b51de commit e827932

8 files changed

Lines changed: 2448 additions & 166 deletions

File tree

transformerlab-docs/docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ const config = {
2323
organizationName: 'transformerlab', // Usually your GitHub org/user name.
2424
projectName: 'transfomerlab-docs', // Usually your repo name.
2525

26-
onBrokenLinks: 'throw',
26+
// The homepage at "/" is served from a static file (static/index.html), not a
27+
// React route, so Docusaurus's link checker can't verify links to "/". Use
28+
// "warn" instead of "throw" so those (valid at runtime) links don't fail the build.
29+
onBrokenLinks: 'warn',
2730
onBrokenMarkdownLinks: 'warn',
2831

2932
/* we need to add the following using links :

transformerlab-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"docusaurus": "docusaurus",
88
"start": "docusaurus start",
9-
"build": "docusaurus build",
9+
"build": "docusaurus build && cp build/custom-index.html build/index.html",
1010
"swizzle": "docusaurus swizzle",
1111
"deploy": "docusaurus deploy",
1212
"clear": "docusaurus clear",

transformerlab-docs/src/pages/index.js

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)