Developing the future of decentralized wealth management. This repository contains the source code for the BLOK Capital documentation site, built with Docusaurus.
- Multi-language Support: Fully localized in English, Spanish, and French.
- Search: Integrated
docusaurus-lunr-searchfor fast, offline-compatible search. - Modern UI: Custom components for Tokenomics, Security Audits, and more.
- Documentation Versions: Supports multiple versions of the protocol documentation.
- Node.js (v18 or higher)
- npm or yarn
npm installTo start the development server:
npm startTo run the site in a specific locale:
npm start -- --locale esnpm run buildThis will generate static files in the build/ directory for all configured locales.
docs/: Version 1 documentation.educ-docs/: Educational content and protocol concepts.builders-docs/: Technical guides and smart contract documentation.resources-docs/: General resources, FAQs, and brand guidelines.i18n/: Translation files for all supported languages.src/components/: Custom React components used throughout the site.src/data/: JSON data files for dynamic content (Tokenomics, Audits, etc.).
The project configuration is located in docusaurus.config.ts. Key settings include:
- i18n: Configured for
en,es, andfr. - Plugins: Custom documentation instances for separate content areas.
- Theme: Classic theme with custom CSS and Prism syntax highlighting.
We use docusaurus-lunr-search. To verify search functionality locally, you must first build the site:
npm run build
npm run servePlease refer to the Contribute section in the documentation for details on how to help us improve.
This project is licensed under the MIT License.