Docusaurus Migration
This document explains the Zeza.co.za documentation migration from a static /docs/index.html page to a Docusaurus-powered documentation system.
What changed
- Added
package.jsonwith Docusaurus build scripts. - Added
docusaurus.config.jsfor site configuration, branding, navbar, footer, sitemap and docs plugin configuration. - Added
sidebars.jswith explicit navigation categories for all documentation groups. - Added
src/css/custom.csswith Zeza-branded Docusaurus styling. - Added
docs/overview.mdxas the/docs/landing page. - Removed the old static
docs/index.htmlso the Docusaurus docs plugin can own the/docs/route. - Added static Docusaurus assets under
static/assets/. - Added a GitHub Actions build workflow for Docusaurus validation.
Why Docusaurus
Docusaurus gives the documentation area:
- Sidebar navigation.
- Category pages.
- Previous/next pagination.
- Search-ready page structure.
- Better metadata.
- Consistent styling.
- Mobile-friendly docs navigation.
- A scalable way to add new guides, checklists, product docs and implementation notes.
Documentation groups
The sidebar now groups the Markdown pages into:
- Resource Assets
- Products and Courses
- Tools and Platforms
- Articles and Education
- Community and Skool
- Lead Magnet Operations
- Launch and Automation
- Implementation and QA
Build commands
npm install
npm run start
npm run build
Production note
The existing static homepage can remain the public marketing site. The Docusaurus build should be used for the documentation experience under /docs/. Confirm the deployment workflow before changing the production publishing target.