mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-10 20:05:38 +02:00
Update .gitignore, package.json, and layout.jsx for improved build process and layout adjustments
- Added 'public/_pagefind' to .gitignore to exclude generated files. - Modified 'start' script in package.json to specify port 3003 for development. - Refactored layout.jsx to adjust imports and update the GitHub repository link for documentation.
This commit is contained in:
parent
808fbc90f3
commit
b582bee911
3 changed files with 12 additions and 11 deletions
3
docs/.gitignore
vendored
3
docs/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
.next
|
||||
.next
|
||||
public/_pagefind
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"build": "next build",
|
||||
"dev": "next --turbopack --port 3003",
|
||||
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind",
|
||||
"start": "next start"
|
||||
"start": "next start --port 3003"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/postcss": "^4.1.4",
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
/* eslint-env node */
|
||||
import { Footer, Layout, Navbar } from 'nextra-theme-docs'
|
||||
import { Banner, Head } from 'nextra/components'
|
||||
import { getPageMap } from 'nextra/page-map'
|
||||
import Image from 'next/image'
|
||||
import 'nextra-theme-docs/style.css'
|
||||
import './globals.css'
|
||||
import {
|
||||
Tilt_Warp,
|
||||
} from "next/font/google";
|
||||
} from "next/font/google"
|
||||
import Image from 'next/image'
|
||||
import { Footer, Layout, Navbar } from 'nextra-theme-docs'
|
||||
import 'nextra-theme-docs/style.css'
|
||||
import { Head } from 'nextra/components'
|
||||
import { getPageMap } from 'nextra/page-map'
|
||||
import './globals.css'
|
||||
|
||||
const tilt_wrap = Tilt_Warp({
|
||||
subsets: ["latin"],
|
||||
|
@ -54,11 +54,11 @@ export default async function RootLayout({ children }) {
|
|||
<Head faviconGlyph="✦" />
|
||||
<body>
|
||||
<Layout
|
||||
banner={<Banner storageKey="Rybbit">Rybbit Alpha</Banner>}
|
||||
// banner={<Banner storageKey="Rybbit">Rybbit Alpha</Banner>}
|
||||
navbar={navbar}
|
||||
footer={<Footer>Copyright {new Date().getFullYear()} © Rybbit.</Footer>}
|
||||
editLink="Edit this page on GitHub"
|
||||
docsRepositoryBase="https://github.com/shuding/nextra/blob/main/examples/docs"
|
||||
docsRepositoryBase="https://github.com/goldflag/rybbit/blob/main/docs"
|
||||
sidebar={{ defaultMenuCollapseLevel: 1 }}
|
||||
pageMap={pageMap}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue