46 lines
820 B
Markdown
46 lines
820 B
Markdown
# Notebook Conversion Site
|
|
|
|
Clean markdown-first Next.js app for browsing converted notebook labs.
|
|
|
|
## Run
|
|
|
|
1. Install dependencies:
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
2. Start the dev server:
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
3. Open `http://localhost:3000`.
|
|
|
|
## Project Structure
|
|
|
|
```text
|
|
content/
|
|
labs/ # .md/.mdx lab files and image asset folders
|
|
src/
|
|
app/
|
|
page.tsx # home page
|
|
labs/
|
|
page.tsx # lab index
|
|
[slug]/page.tsx # lab renderer
|
|
components/
|
|
SiteHeader.tsx
|
|
labs/LabContent.tsx
|
|
lib/
|
|
labs.ts # lab file discovery + frontmatter loader
|
|
styles/
|
|
globals.css
|
|
```
|
|
|
|
## Notes
|
|
|
|
- Labs are loaded from `content/labs`.
|
|
- Both `.md` and `.mdx` files are discoverable.
|
|
- Legacy folders from the old workspace were moved to `archive/` during refactor.
|