Skip to main content

Docusaurus Blog

I configured a Docusaurus starter as a place for my DevSecOps project documentation. The repository README covers the file layout and local commands; this page explains the setup work and its result.

Task​

The starter contained generic branding, example posts and tutorials, and links to its source repository. The goal was to configure it as my DevSecOps portfolio, document the setup, and prepare a GitHub Pages deployment without presenting sample content as my work.

Implementation​

  1. I established an npm-based Docusaurus 3.10.2 baseline on main, then made the portfolio changes on setup-blog.
  2. In docusaurus.config.ts, I set the site title, tagline, GitHub Pages URL and project path. example.env documents GIT_REPOSITORY_URL; the config reads that value or uses a default for the repository link and both docs and optional blog editUrl values.
  3. I replaced the starter navigation and footer with project and repository links, retained the checklist-required template attribution, and disabled the blog until original posts exist.
  4. I removed sample pages and assets, added a project overview and this setup page, and documented the local build and Actions deployment in the README.

Result and verification​

The configured site builds a homepage and project documentation without the starter's example posts or tutorials. The setup-blog work passed npm run typecheck and npm run build, and PR #3 was merged into main after acceptance.

GitHub Actions builds pull requests and deploys the site after a push to main. The accepted setup is available on GitHub Pages; newer project pages become public after their feature branches are merged into main.