Skip to content
prosopoPublic
forked from withastro/docs

About

Prosopo documentation

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Prosopo Docs

ci release auto-update-pr update_staging stale-pr-to-draft license

The source for docs.prosopo.io: how to add Procaptcha to a site, verify it on your server, and set up Prosopo Protect.

Run it locally

Use the Node version in .nvmrc (nvm use) and the pnpm version in package.json's packageManager (corepack enable).

pnpm install
pnpm run dev

The site is built with Starlight. pnpm run build produces the static site in dist/.

Where things live

  • src/content/docs/<lang>/ — the pages, one folder per language (en is the source; de, es, fr, it and pt-br are translations).
  • src/i18n/en/nav.ts — the sidebar.
  • src/assets/ — screenshots and images used in pages.

CI and deploys

  • .github/workflows/ci.yml runs on every PR: it builds the site, checks every internal link in the build, lints the code (only when code or package.json changed) and lints the workflows. The build, lint and PR checks come from the shared stage workflows in prosopo/github_actions.
  • release.yml runs on a push to main or staging: it builds the site, uploads it to Bunny storage (scripts/deploy-bunny), purges the CDN cache and cuts a GitHub release. main serves https://docs.prosopo.io, staging serves 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.

Help out

  • 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.

About

Prosopo documentation

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages