After completing the local setup, you can start the development server and browse the docs site atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/github/docs/llms.txt
Use this file to discover all available pages before exploring further.
http://localhost:4000.
Starting the server
NODE_ENV=development and English content enabled. nodemon watches for file changes and restarts the server automatically.
To stop the server at any time, press Ctrl+C in your terminal.
Starting the server in debug mode
Usenpm run debug to start the server with the Node.js inspector attached:
--inspect flag enables the V8 inspector protocol on 127.0.0.1:9229. You can then attach a debugger from VS Code or Chrome DevTools. See Debugging for a step-by-step guide.
Enabling additional languages
By default, the server only loads English content (ENABLED_LANGUAGES=en). Loading all languages at startup would significantly increase memory usage and startup time.
To enable one or more additional languages, set ENABLED_LANGUAGES before starting the server:
ENABLED_LANGUAGES in your .env file to avoid typing it every time.
Restart the server after changing
ENABLED_LANGUAGES. The application reads this variable at startup and does not reload it on the fly.Supported language codes
The full set of language codes is defined insrc/languages/lib/languages.ts:
| Code | Language |
|---|---|
en | English |
es | Spanish (Español) |
ja | Japanese (日本語) |
pt | Portuguese (Português do Brasil) |
zh | Simplified Chinese (简体中文) |
ru | Russian (Русский) |
fr | French (Français) |
ko | Korean (한국어) |
de | German (Deutsch) |
Serving all languages without nodemon
If you want to run with all languages enabled and skip nodemon’s restart overhead, use:tsx src/frame/server.ts directly with NODE_ENV=development and no ENABLED_LANGUAGES restriction — meaning all supported languages are served.
Using the fixture dev server
The fixture server loads a lightweight set of test content fromsrc/fixtures/fixtures instead of the full content tree. It starts much faster and is useful when working on application code rather than documentation content.
Hot reload behavior
The server uses nodemon to watch for changes and restart automatically. The watch configuration is inpackage.json under "nodemonConfig":
Watched file extensions: ts, json, yml, md, html, scss
Directories ignored by nodemon (changes here do not trigger a restart):
assets/script/tests/content/translations/data/reusables/data/variables/data/glossaries/data/product-examples/data/learning-tracks/rest-api-description/semmle-code/
src/, configuration files, or schema files will trigger nodemon to restart the server. Watch the terminal output to confirm the restart has completed before refreshing your browser.
Command reference
| Command | Description |
|---|---|
npm start | Start the dev server on port 4000 (English only) |
npm run dev | Alias for npm start |
npm run debug | Start with Node.js inspector on port 9229 |
npm run start-all-languages | Start without language restriction, no nodemon |
npm run fixture-dev | Start with fixture content (faster startup) |
npm run fixture-dev-debug | Fixture server with Node.js inspector |