The code behind the public php-debugger.dev website, built with Docusaurus.
npm install
npm run start # dev server with hot reload at http://localhost:3000npm run build # outputs to build/, fails on broken internal links
npm run serve # serve the production build locally (search works here)- Pull requests:
.github/workflows/preview.ymlbuilds the site with the PR-specific base path and deploys a preview to thegh-pagesbranch underpr-preview/pr-<N>/. - Push to
main:.github/workflows/deploy.ymlbuilds and deploys the site to thegh-pagesbranch, which GitHub Pages serves.
Documentation pages are Markdown files in docs/, organised by sidebar category (see sidebars.js). The home page is docs/index.mdx, composed from the React components in src/components/. Design mockups live in design/ for reference.