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.6", "fumadocs-ui": "15.0.6", "fumadocs-mdx": "11.5.3", "@fumadocs/content-collections": "1.1.8" };
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
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create
3
- } from "./chunk-VG5GW25Z.js";
3
+ } from "./chunk-WTLVV3EL.js";
4
4
  export {
5
5
  create
6
6
  };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  create,
4
4
  cwd,
5
5
  getPackageManager
6
- } from "./chunk-VG5GW25Z.js";
6
+ } from "./chunk-WTLVV3EL.js";
7
7
 
8
8
  // src/index.ts
9
9
  import { existsSync } from "node:fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fumadocs-app",
3
- "version": "15.0.6",
3
+ "version": "15.0.7",
4
4
  "description": "Create a new documentation site with Fumadocs",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -3,14 +3,25 @@ import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
3
3
  /**
4
4
  * Shared layout configurations
5
5
  *
6
- * you can configure layouts individually from:
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
- // can be JSX too!
13
- title: 'My App',
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
  {