Official documentation portal for Fonrex — Open-source financial data infrastructure.
This repository contains the source code, markdown docs, assets, and translation files for the official Fonrex Documentation, built with Docusaurus 3.
Ensure you have the following installed on your machine:
- Node.js:
v18.0.0or higher - Package Manager:
npm(comes with Node.js) oryarn/pnpm
-
Clone the repository:
git clone https://github.com/fonrex/fonrex.git cd docs -
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000. Most changes will reflect live in your browser without restarting the server.
To generate static assets and HTML files for production:
npm run buildTo preview the built production site locally:
npm run serve.
├── docs/ # Core documentation markdown & MDX files
│ ├── api-reference/ # API endpoints and schemas
│ ├── architecture/ # System architecture & core concepts
│ └── getting-started/ # Installation and quickstart guides
├── i18n/ # Localizations (Translations)
│ ├── fr/ # French translations
│ └── zh-Hans/ # Simplified Chinese translations
├── src/ # Custom pages, components, and styles
│ ├── css/ # Global & custom CSS styles
│ └── pages/ # Non-doc React pages (e.g., Landing page)
├── static/ # Static assets (images, logos, llms.txt, llms-full.txt)
├── docusaurus.config.ts # Main Docusaurus configuration
├── sidebars.ts # Sidebar navigation tree configuration
├── tsconfig.json # TypeScript configuration
└── package.json # Node dependencies & CLI scripts
In the project directory, you can run:
| Command | Description |
|---|---|
npm start |
Runs the app in development mode at http://localhost:3000. |
npm run build |
Bundles static HTML and assets into the build/ directory. |
npm run serve |
Serves the production build locally for testing. |
npm run typecheck |
Runs TypeScript type checker across the codebase. |
npm run clear |
Clears Docusaurus cache (.docusaurus/ & build/). |
npm run write-translations |
Extracts translatable strings into i18n/. |
Fonrex documentation supports multiple languages out of the box:
- 🇬🇧 English (
en) — Default / Source locale - 🇫🇷 French (
fr) —i18n/fr/ - 🇨🇳 Simplified Chinese (
zh-Hans) —i18n/zh-Hans/
To start the local development server in a specific language:
# Start in French
npm start -- --locale fr
# Start in Simplified Chinese
npm start -- --locale zh-HansWe welcome contributions to improve the Fonrex documentation!
- Fork the repository and create your feature branch:
git checkout -b doc/my-update - Make your documentation updates in
docs/(or update translations ini18n/). - Ensure there are no broken links and type checking passes:
npm run typecheck npm run build
- Commit your changes and open a Pull Request.
This documentation repository is licensed under the AGPL-3.0 License. Copyright © 2026 Fonrex.