mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-11 12:25:36 +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",
|
"build": "next build",
|
||||||
"dev": "next --turbopack --port 3003",
|
"dev": "next --turbopack --port 3003",
|
||||||
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind",
|
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind",
|
||||||
"start": "next start"
|
"start": "next start --port 3003"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tailwindcss/postcss": "^4.1.4",
|
"@tailwindcss/postcss": "^4.1.4",
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
/* eslint-env node */
|
/* 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 {
|
import {
|
||||||
Tilt_Warp,
|
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({
|
const tilt_wrap = Tilt_Warp({
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
|
@ -54,11 +54,11 @@ export default async function RootLayout({ children }) {
|
||||||
<Head faviconGlyph="✦" />
|
<Head faviconGlyph="✦" />
|
||||||
<body>
|
<body>
|
||||||
<Layout
|
<Layout
|
||||||
banner={<Banner storageKey="Rybbit">Rybbit Alpha</Banner>}
|
// banner={<Banner storageKey="Rybbit">Rybbit Alpha</Banner>}
|
||||||
navbar={navbar}
|
navbar={navbar}
|
||||||
footer={<Footer>Copyright {new Date().getFullYear()} © Rybbit.</Footer>}
|
footer={<Footer>Copyright {new Date().getFullYear()} © Rybbit.</Footer>}
|
||||||
editLink="Edit this page on GitHub"
|
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 }}
|
sidebar={{ defaultMenuCollapseLevel: 1 }}
|
||||||
pageMap={pageMap}
|
pageMap={pageMap}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue