Official documentation site for TrustVC — a comprehensive library for signing, verifying, and managing W3C Verifiable Credentials.
Built with Docusaurus 3 and styled with the TrustVC brand theme.
- Node.js
>= 22.0.0 - npm
npm installnpm startThe site will be available at http://localhost:3000. The dev server supports hot reload for both content and styling.
npm run buildStatic files are generated in the build/ directory.
npm run serveTrustVC-Documentation/
├── docs/ # Markdown documentation pages
│ ├── getting-started.md # SDK getting started guide
│ ├── tutorial/ # End-to-end tutorials
│ ├── how-tos/ # Task-oriented guides
│ ├── migration-guide/ # Version migration guides
│ ├── common-issues/ # Troubleshooting
│ └── glossary/ # Terminology reference
├── src/
│ ├── css/
│ │ ├── custom.css # Docusaurus theme overrides (TrustVC brand)
│ │ └── styles.css # Tailwind entry + font-face declarations
│ └── pages/
│ └── index.tsx # Root redirect to /docs/getting-started
├── static/
│ ├── fonts/ # Gilroy font files
│ ├── img/ # Logos and favicon
│ └── docs/ # Doc images
├── docusaurus.config.js # Site configuration
├── sidebars.json # Sidebar navigation structure
├── tailwind.config.js # Tailwind theme (TrustVC colors)
└── postcss.config.js # PostCSS + Tailwind pipeline
Documentation pages are standard Markdown (.md) or MDX (.mdx) files under docs/. Each page supports:
- Standard Markdown syntax
- Frontmatter (
title,sidebar_position, etc.) - Code blocks with syntax highlighting (Prism)
- Docusaurus admonitions (
:::note,:::tip,:::warning,:::danger,:::info) - Blockquotes (styled as TrustVC callout boxes)
When adding a new page:
- Create the Markdown file under the appropriate
docs/subdirectory - Add the page's slug to
sidebars.jsonin the correct category - Run
npm startto preview
| File | Purpose |
|---|---|
docusaurus.config.js |
Site title, navbar, footer, URL, plugins |
sidebars.json |
Sidebar navigation structure |
src/css/custom.css |
Infima theme variables (colors, fonts, spacing) |
tailwind.config.js |
Tailwind color palette and content paths |
package.json |
Dependencies and build scripts |
- Create a feature branch from
main - Make your changes and test locally with
npm start - Ensure the production build succeeds with
npm run build - Submit a pull request
- TrustVC SDK — the library this documentation covers
- Docusaurus Documentation — framework reference
Apache-2.0