Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Git Page Docs Example

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.

What is included

  • 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.json
    • gitpagedocs/docs/versions/1.1.0/config.json
    • gitpagedocs/docs/versions/1.1.1/config.json

Project structure

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

Getting started

  1. Install dependencies:
npm install
  1. Regenerate or initialize docs structure (optional):
npx gitpagedocs

Editing documentation

  • 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

View docs

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.

Dependency

This project uses:

  • gitpagedocs (defined in package.json)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors