Skip to content

Commit 42412ad

Browse files
committed
docs: add publicPath
1 parent 6050a4f commit 42412ad

File tree

12 files changed

+22
-21
lines changed

12 files changed

+22
-21
lines changed

.doc/404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/_demos/.uuid/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/demo/basic/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/demo/expand-all/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/demo/expand/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/demo/horizontal/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/demo/vertical/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.doc/umi.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.doc/~demos/.uuid/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
width: auto !important;
1717
}
1818
</style>
19-
<link rel="stylesheet" href="/umi.css" />
19+
<link rel="stylesheet" href="/react-org-tree/umi.css" />
2020
<script>
2121
window.routerBase = "react-org-tree";
2222
</script>
@@ -39,6 +39,6 @@
3939
<body>
4040
<div id="root"></div>
4141

42-
<script src="/umi.js"></script>
42+
<script src="/react-org-tree/umi.js"></script>
4343
</body>
4444
</html>

.umirc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig({
99
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
1010
outputPath: '.doc',
1111
base: 'react-org-tree',
12+
publicPath: '/react-org-tree/',
1213
exportStatic: {},
1314
styles: [
1415
`

0 commit comments

Comments
 (0)