This is a hexo static site used to generate the Gehyra API Docs.
To generate the documentation use:
$ npm run gen
This script will
- Clean the Hexo database
- Generate JSDoc
data/data.js
from the code signatures - Generate the static html pages from the markup.
The generated files are stored in the docs
folder. This folder is setup in GitHub to be hosted at https://ogecko.github.io/docs-api. To redploy the site you will need to commit and push changes to this repository.
To run a copy of the documentation locally use:
$ npm run start
Changes to the markdown files will be automatically reflected. Changes to code signatures will need restarting of the server.
This repo links to the docs-theme-ogecko
repository using submodules. To update to the latest theme use:
$ git submodule update --remote
Generally you should not commit changes to the submodules, unless you know what you are doing.