This repository is an example of a documentation project generated with gitpagedocs.
It demonstrates versioned content, multi-language pages, and centralized configuration through gitpagedocs/config.json.
- Versioned documentation under
gitpagedocs/docs/versions/ - Three languages: English (
en), Portuguese (pt), and Spanish (es) - A main project configuration file:
gitpagedocs/config.json - Per-version configuration files, for example:
gitpagedocs/docs/versions/1.0.0/config.jsongitpagedocs/docs/versions/1.1.0/config.jsongitpagedocs/docs/versions/1.1.1/config.json
gitpagedocs/
config.json
docs/
versions/
1.0.0/
config.json
en/*.md
pt/*.md
es/*.md
1.1.0/
config.json
en/*.md
pt/*.md
es/*.md
1.1.1/
config.json
en/*.md
pt/*.md
es/*.md
- Install dependencies:
npm install- Regenerate or initialize docs structure (optional):
npx gitpagedocs- Edit markdown pages inside
gitpagedocs/docs/versions/<version>/<language>/ - Update global behavior in
gitpagedocs/config.json - Update version-specific settings in each version
config.json
Use the official Git Page Docs website and point it to this repository:
Then fill in the GitHub owner and repository name to load the docs.
This project uses:
gitpagedocs(defined inpackage.json)