Work in progress: This new documentation is new and subject to change. PRs are welcome!
Live on docs.paperlesspaper.de
Developer documentation for the paperlesspaper API.
This repository contains a Next.js 16 documentation site built with FumaDocs. It combines handwritten MDX guides from content/docs with API reference pages generated from the live OpenAPI schema at https://api.paperlesspaper.de/openapi.json.
- Next.js 16
- React 19
- FumaDocs
- FumaDocs OpenAPI
- Tailwind CSS 4
Install dependencies:
yarn installStart the development server:
yarn devOpen http://localhost:3000.
yarn devstarts the local development server.yarn buildcreates a production build.yarn startserves the production build.yarn lintruns the project linter.
content/docscontains the authored MDX pages and sidebar metadata.lib/openapi.tspoints FumaDocs at the live paperlesspaper OpenAPI schema.appcontains the Next.js app router entrypoints and FumaDocs page wiring.componentscontains custom MDX and UI helpers for the docs experience.
The API reference is generated from the live schema configured in lib/openapi.ts. That means local and deployed docs reflect the current published OpenAPI document rather than a checked-in schema snapshot.
If the schema changes, the generated endpoint reference updates with it the next time the site is built.