Skip to content

Remove the home page #369

Closed Answered by bradstdev
bradstdev asked this question in Q&A
May 15, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Example site: https://github.com/austererisk/austererisk-com

Procedure:

  1. Move content from /content/docs to /content
  2. Delete .map.ts
  3. Merge the layouts by placing the DocsLayout inside the Layout, then delete the `app/docs' folder
  4. Modify the app/source.ts file as below

app/layout.tsx

import { RootProvider } from "fumadocs-ui/provider";
import "fumadocs-ui/style.css";
import { Inter } from "next/font/google";
import type { ReactNode } from "react";
import { DocsLayout } from "fumadocs-ui/layout";
import { pageTree } from "./source";
import Image from "next/image";
import './styles.css'

const inter = Inter({
	subsets: ["latin"],
});

export default function Layout({ children }: { children: R…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bradstdev
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bradstdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants