Skip to content

docs: add Docusaurus documentation website with GitHub Pages deployment#93

Open
0xarcano wants to merge 12 commits intomainfrom
docs/api-reference-website-generation
Open

docs: add Docusaurus documentation website with GitHub Pages deployment#93
0xarcano wants to merge 12 commits intomainfrom
docs/api-reference-website-generation

Conversation

@0xarcano
Copy link
Contributor

Summary

  • Add Docusaurus documentation website in apps/website/ with TypeDoc plugin for API reference generation
  • Add GitHub Actions workflow for automated deployment to GitHub Pages
  • Update ESLint config to ignore Docusaurus CommonJS config files

Changes

New Website Application (apps/website/):

  • Docusaurus configuration with custom theme and branding
  • TypeDoc plugin for API reference generation from TSDoc comments
  • Documentation pages: Introduction, Setup, Contributing, Developer Guide, TSDoc Guide
  • Dynamic baseUrl (/ for local dev, /brebaje/ for production)

GitHub Actions Workflow (.github/workflows/deploy-docs.yml):

  • Automated build and deployment to GitHub Pages on main branch pushes
  • Deploys to gh-pages branch

Test Plan

  • Local development server works at http://localhost:3000/
  • Documentation pages render correctly
  • Verify GitHub Actions workflow runs on merge
  • Verify deployment to GitHub Pages works

…ployment

Added a new documentation website using Docusaurus with API reference
generation from TSDoc comments. Includes automated deployment workflow
to GitHub Pages.

- Add Docusaurus website in apps/website/ with TypeDoc plugin
- Add GitHub Actions workflow for automated deployment
- Update pnpm-lock.yaml with website dependencies
- Update ESLint config to ignore Docusaurus config files
Updated all references from zkpservices to p0tion-tools organization
and configured proper GitHub Pages deployment URLs.

- Update organization name to p0tion-tools
- Update base URL for GitHub Pages deployment
- Update documentation and repository links
- Update copyright attribution
@0xarcano 0xarcano requested a review from NicoSerranoP January 26, 2026 16:24
@0xarcano 0xarcano self-assigned this Jan 26, 2026
@0xarcano 0xarcano added the documentation Improvements or additions to documentation label Jan 26, 2026
@0xarcano 0xarcano force-pushed the docs/api-reference-website-generation branch from ffc7df2 to 5ace0c4 Compare January 26, 2026 17:23
- Fix lerna ignore pattern to use full package name (@brebaje/website)
- Add ESLint ignores for Docusaurus generated files (.docusaurus/**, docs/api/**)
- Update deploy-docs.yml workflow with proper caching and deployment steps
- Fix Docusaurus deprecation warning (move onBrokenMarkdownLinks to markdown.hooks)
- Consolidate documentation generation to apps/website
- Remove root typedoc.json (now managed in docusaurus.config.js)
- Update build process to generate comprehensive API documentation
- Test workflow locally - all checks passing
- Add build step to deploy-docs.yml workflow to build @brebaje/actions package
- Ensures TypeDoc can resolve workspace dependencies via path mappings
- Matches pattern used in other workflows (backend, frontend, cli)
- Fixes TypeScript module resolution errors in GitHub Actions
Copy link
Contributor

@AgustinBadi AgustinBadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @0xarcano, I have build the tsdocs and it looks great! I did an extensive review of the code, targeting specially the critical issues.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Collaborator

@NicoSerranoP NicoSerranoP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haven't finish reviewing the files

Co-authored-by: Cursor <cursoragent@cursor.com>
0xarcano and others added 5 commits January 31, 2026 10:46
- Replace npm/npx with pnpm in generate-api-docs and docs scripts
- Use logo.svg for social card image in Docusaurus config

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add database/** to typedoc exclude in Docusaurus config
- Set cleanOutputDir true (plugin is sole generator)
- Remove prebuild/generate-api-docs; use docs/docs:watch for Docusaurus

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Nico Serrano <nnicosp@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants