create-fumadocs-app 15.0.6 → 15.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,7 +60,7 @@ function tryGitInit(root) {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// src/versions.js
|
|
63
|
-
var versions = { "fumadocs-core": "15.0.
|
|
63
|
+
var versions = { "fumadocs-core": "15.0.7", "fumadocs-ui": "15.0.7", "fumadocs-mdx": "11.5.4", "@fumadocs/content-collections": "1.1.8" };
|
|
64
64
|
|
|
65
65
|
// ../create-app-versions/package.json
|
|
66
66
|
var package_default = {
|
|
@@ -144,7 +144,7 @@ async function create(options) {
|
|
|
144
144
|
}
|
|
145
145
|
for (const dir of ["app", "lib"]) {
|
|
146
146
|
const relative = path.relative(path.join(dest, dir), file);
|
|
147
|
-
if (!relative.startsWith(
|
|
147
|
+
if (!relative.startsWith(`..${path.sep}`)) {
|
|
148
148
|
return path.join(dest, "src", dir, relative);
|
|
149
149
|
}
|
|
150
150
|
}
|
package/dist/create-app.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -3,14 +3,25 @@ import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
|
|
|
3
3
|
/**
|
|
4
4
|
* Shared layout configurations
|
|
5
5
|
*
|
|
6
|
-
* you can
|
|
6
|
+
* you can customise layouts individually from:
|
|
7
7
|
* Home Layout: app/(home)/layout.tsx
|
|
8
8
|
* Docs Layout: app/docs/layout.tsx
|
|
9
9
|
*/
|
|
10
10
|
export const baseOptions: BaseLayoutProps = {
|
|
11
11
|
nav: {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
title: (
|
|
13
|
+
<>
|
|
14
|
+
<svg
|
|
15
|
+
width="24"
|
|
16
|
+
height="24"
|
|
17
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
18
|
+
aria-label="Logo"
|
|
19
|
+
>
|
|
20
|
+
<circle cx={12} cy={12} r={12} fill="currentColor" />
|
|
21
|
+
</svg>
|
|
22
|
+
My App
|
|
23
|
+
</>
|
|
24
|
+
),
|
|
14
25
|
},
|
|
15
26
|
links: [
|
|
16
27
|
{
|