The Next.js application foundation for the ObjectStack documentation.
This package provides the actual Next.js application structure, configuration, and UI components used to render the documentation. It is designed to be encapsulated and run via the @objectdocs/cli.
- Concepts: Next.js 16 (App Router)
- Documentation: Fumadocs
- Styling: Tailwind CSS
- Deployment: Static Export (
output: 'export')
Typically you won't run this package directly. Instead, you should use the CLI from the root workspace:
pnpm dev
# or
pnpm objectdocs devHowever, for internal development of the site theme or logic, you can run:
cd packages/site
pnpm devapp/: Next.js App Router pages and layouts.lib/: Utility functions (i18n, etc).source.config.ts: Fumadocs configuration.next.config.mjs: Next.js configuration (configured for static export).
When built, the static assets are generated in the out/ directory.