The source for docs.prosopo.io: how to add Procaptcha to a site, verify it on your server, and set up Prosopo Protect.
Use the Node version in .nvmrc (nvm use) and the pnpm version in package.json's packageManager (corepack enable).
pnpm install
pnpm run devThe site is built with Starlight. pnpm run build produces the static site in dist/.
src/content/docs/<lang>/— the pages, one folder per language (enis the source;de,es,fr,itandpt-brare translations).src/i18n/en/nav.ts— the sidebar.src/assets/— screenshots and images used in pages.
.github/workflows/ci.ymlruns on every PR: it builds the site, checks every internal link in the build, lints the code (only when code orpackage.jsonchanged) and lints the workflows. The build, lint and PR checks come from the shared stage workflows in prosopo/github_actions.release.ymlruns on a push tomainorstaging: it builds the site, uploads it to Bunny storage (scripts/deploy-bunny), purges the CDN cache and cuts a GitHub release.mainserves https://docs.prosopo.io,stagingserves https://staging.docs.prosopo.io.- Redirects and cache headers are edge rules on the Bunny pull zones (
docs-production,docs-staging), not files in this repo.
- Found a mistake? Open an issue or send a pull request.
- Want to talk it through first? Join us on Discord.
See CONTRIBUTING.md for how to make a change.