Source for docs.sentrixchain.com — built with Docusaurus 3.
cd docs-site
npm install
npm startOpens dev server at http://localhost:3000. Hot-reloads on markdown changes.
npm run buildStatic site output to build/. Test served:
npm run serveMarkdown source in docs/, mirrors the categorization from the original ../docs/ directory:
docs/
├── intro.md Welcome page (slug: /)
├── architecture/ CONSENSUS, EVM, STATE, etc.
├── operations/ Quickstart, MetaMask, API endpoints, validator guide, monitoring
├── tokenomics/ SRX, token standards, staking
├── security/ Audits, pentest, attack vectors
├── roadmap/ Phase 2/3, changelog
└── brand/ Hero copy, one-pager, press boilerplate, social bios
When you add a new doc:
- Drop a markdown file under the appropriate category in
docs/ - The autogenerated sidebar picks it up — no manual sidebar edit needed
- (Optional) Add front matter for sidebar position / custom slug:
---
sidebar_position: 1
title: Custom Title
slug: /custom-path
---- Push to GitHub (already on
sentrix-labs/sentrix) - Import project at https://vercel.com — point to
docs-site/subdirectory - Build command:
npm run build(default) - Output directory:
build(default) - Set custom domain:
docs.sentrixchain.com - Configure DNS at Cloudflare:
CNAME docs → cname.vercel-dns.com
Vercel auto-deploys on every push to main.
- Cloudflare dashboard → Pages → Connect to Git
- Repo:
sentrix-labs/sentrix, root directory:docs-site - Build command:
npm run build - Output:
build - Custom domain:
docs.sentrixchain.com(auto-detected if domain is on Cloudflare)
GIT_USER=<your-username> npm run deployConfigures GitHub Pages serving from gh-pages branch.
- Tagline: "Open source EVM L1 in Rust."
- Primary positioning: locked-in 2026-04-26 (internal brand-positioning doc)
- Logo source: github.com/sentrix-labs/brand-kit
- Source markdown files in
docs/are the source of truth for documentation ../docs/(top-level) holds operator-facing docs; for now, both the source dir and the docs-site copy are kept in sync manually- For Indonesian translation: add
i18n/id/directory + Docusaurus i18n config - For search: enable Algolia DocSearch (free for open-source) — apply at https://docsearch.algolia.com/apply
Master tokenomics + brand positioning: held in an internal brand-positioning doc (private repo).