Skip to content

Repository files navigation

Fonrex Logo

Fonrex Documentation

Docusaurus License: AGPL v3 Node.js i18n

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.


Quick Start

Prerequisites

Ensure you have the following installed on your machine:

  • Node.js: v18.0.0 or higher
  • Package Manager: npm (comes with Node.js) or yarn / pnpm

Local Development

  1. Clone the repository:

    git clone https://github.com/fonrex/fonrex.git
    cd docs
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start
  4. Open your browser and navigate to http://localhost:3000. Most changes will reflect live in your browser without restarting the server.

Production Build

To generate static assets and HTML files for production:

npm run build

To preview the built production site locally:

npm run serve

Repository Structure

.
├── 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

Available 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/.

🌐 Internationalization (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-Hans

Contributing

We welcome contributions to improve the Fonrex documentation!

  1. Fork the repository and create your feature branch: git checkout -b doc/my-update
  2. Make your documentation updates in docs/ (or update translations in i18n/).
  3. Ensure there are no broken links and type checking passes:
    npm run typecheck
    npm run build
  4. Commit your changes and open a Pull Request.

License

This documentation repository is licensed under the AGPL-3.0 License. Copyright © 2026 Fonrex.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages