# docusaurus-docs-site

Build a Docusaurus docs site from markdown (static output we can host on Cloudflare Pages)

- **Space:** docs-and-knowledge-base-public (https://github.com/Tech-Realm/space-docs-and-knowledge-base-public/tree/main/docusaurus-docs-site)
- **Level:** L1 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** node, npm, npx
- **Routes:** node-local, cloudflare-pages; checks: 3
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use docs-and-knowledge-base-public/docusaurus-docs-site` or MCP `get_pack docs-and-knowledge-base-public/docusaurus-docs-site`
- **Files:** CHANGELOG.md, code/linkcheck.py, code/site/docs/install.md, code/site/docs/intro.md, code/site/docusaurus.config.js, code/site/package.json, code/site/sidebars.js, code/site/src/pages/index.md, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Build a Docusaurus docs site from markdown (static output we can host on Cloudflare Pages).

## Steps

1. Write docs as markdown in `code/site/docs/` (front matter `title`, `sidebar_position`).
2. `npm install && npx docusaurus build` -> static site in `build/`.
3. Check links first: `python3 code/linkcheck.py code/site/docs --root intro.md`.
4. Deploy `build/` to Cloudflare Pages.

## Edge cases

- Docusaurus fails the build on broken internal links (onBrokenLinks: 'throw'), which is what we want.
- Node 18+ required.

## Don'ts

- Don't commit node_modules or build/.

## Check

`lp pack check docs-and-knowledge-base/docusaurus-docs-site` runs outcome/checks.yaml.



---

Canonical URL: https://logicpacks.io/packs/docs-and-knowledge-base-public/docusaurus-docs-site

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
