Skip to main content

What Docusaurus Can Do

This page showcases features exclusive to Docusaurus that MkDocs Material cannot replicate or requires significant effort. All demos are relevant to AClimate v3 documentation.


1. Live React Components in Documentation​

Because Docusaurus uses MDX (Markdown + JSX), you can embed fully interactive React components directly in documentation pages. MkDocs uses only pure Markdown — this is impossible there.

Country Browser (interactive table)​

Search, filter, and sort countries from the MngCountry ORM entity in real time:

Country ▲ISO2 Admin 1 Cultivars Soils
ColombiaCO321528
EthiopiaET111425
HondurasHN18714
KenyaKE47822
NicaraguaNI15612
PeruPE251018
PhilippinesPH812240
ThailandTH771830
UgandaUG41215
VietnamVN632035

Showing 10 of 10 countries. Data sourced from MngCountry ORM entity.

Forecast Status Dashboard (interactive panel)​

Monitor forecast runs by country with live status badges, progress bars, and filter buttons:

CountryRun DateStatusAnaloguesProgress
Colombia2026-07-28Complete12
Peru2026-07-28Complete8
Kenya2026-07-27In Progress5
Uganda2026-07-27In Progress3
Vietnam2026-07-26Complete15
Thailand2026-07-26Failed0
Nicaragua2026-07-25Complete6
Philippines2026-07-25In Progress10

Live forecast status dashboard — data from Forecast ORM entity. Click filters to explore.

Why this is impossible in MkDocs: MkDocs renders Markdown to static HTML. It has no JavaScript runtime for embedding custom interactive components. Every table is static.


2. i18n / Multi-language (Built-in)​

Docusaurus has native i18n — no plugins needed. Just configure it in docusaurus.config.ts:

i18n: {
defaultLocale: 'en',
locales: ['en', 'es'],
}

File Structure​

Translations live in a dedicated i18n/ folder, mirroring the docs structure:

i18n/
es/
docusaurus-plugin-content-docs/
current/
get-started.md # Spanish translation
architecture.md # Spanish translation
api.md # Spanish translation

How it looks for the user​

A language dropdown appears in the navbar automatically. URLs become:

  • /docs/get-started → English (default)
  • /es/docs/get-started → Spanish

See it in action (simulated)​

AClimate v3 is a modular platform for agro-climatic information management, processing, and exposure through a decoupled architecture.

Crowdin Integration​

Docusaurus has an official Crowdin plugin for professional translation workflows. Community translators can contribute translations through Crowdin's web interface, and they sync automatically to your repository.

vs MkDocs: MkDocs needs mkdocs-static-i18n plugin (3rd party), uses .es.md suffix pattern, and has no Crowdin integration.


3. Built-in Versioning​

Docusaurus has native versioned documentation — a version dropdown in the navbar lets users switch between versions seamlessly:

# Create a version snapshot
npm run docusaurus docs:version 2.0 # Archive v2 docs
npm run docusaurus docs:version 3.0 # Current v3 docs

Results in:

/docs/ → Latest
/docs/3.0/ → v3.0 docs
/docs/2.0/ → v2.0 docs (archived)

Each version gets:

  • Its own URL prefix
  • A "This doc is for an older version" banner
  • Automatic redirects from old links

Why this matters for AClimate: v2 documentation still exists in aclimate_docs. With Docusaurus, you can host both v2 and v3 docs in a single site with a version picker. MkDocs needs the external mike plugin.


4. Built-in Blog for Release Notes​

Docusaurus includes a full blog engine — not just a list of markdown files, but:

  • RSS/Atom feeds
  • Tags and categories
  • Authors with profiles
  • Reading time estimates
  • Pagination
/blog/
├── 2026-07-aclimate-v3-launch.md
├── 2026-08-orm-migration-guide.md
└── 2026-09-new-etl-pipeline.md

Why this matters: Instead of maintaining a separate blog platform (Medium, WordPress, Dev.to), your changelogs, release notes, and migration guides live in the same repo as your documentation.


5. Customizable Landing Page​

The home page is a full React component (src/pages/index.tsx), not a markdown file:

// You could embed:
<LiveMap selectedCountry="CO" />
<ForecastSummary data={apiData} />
<SystemHealthWidget />

Why this matters: Your docs landing page could show live system status, recent forecasts, or a quick-search interface — becoming a mini-application.


Summary: Docusaurus Differentiators​

FeatureDocusaurusMkDocs Material
Live React components✅ Natively in MDX❌ Not possible (static Markdown)
i18n / multi-language✅ Built-in + Crowdin plugin⚠️ 3rd-party plugin needed
Versioned docs✅ Native (one command)⚠️ Via mike plugin
Blog engine✅ Built-in (RSS, tags, authors)❌ Not included
Custom landing page✅ Full React control❌ Markdown-only
Search⚠️ Algolia (cloud) or plugin✅ Offline lunr.js (built-in)
Diagrams (Mermaid)⚠️ Plugin needed✅ Built-in, no setup
Code tabs✅ With JSX✅ With pymdownx
Build speed~15s (11 pages)~0.7s (11 pages)
Content formatMDX (Markdown + JSX)Pure Markdown
Learning curveMedium (JSX, React concepts)Low (Markdown only)