The API Reference is available at https://docs.strigo.io.
-
Install the latest Hugo:
-
On CentOS:
- Install the copr plugin for yum:
sudo yum install yum-plugin-copr
- Enable the Hugo repository:
sudo yum copr enable daftaupe/hugo
- Install Hugo:
sudo yum install hugo
- Install the copr plugin for yum:
-
On Ubuntu:
- Install Hugo:
sudo apt-get install hugo
- Install Hugo:
-
On Windows:
- Install chocolatey.
- Install Hugo:
choco install hugo -confirm
-
On MacOS:
- Install homebrew
- Install Hugo:
brew install hugo
-
-
Verify that Hugo is installed:
hugo version
-
Clone this repository
-
Change directory to the
strigo-rest-docs
directory -
Install the theme submodule by running:
git submodule init && git submodule update
-
Start the hugo web server:
hugo server
-
Go to: http://localhost:1313
We use Netlify to manage the docs' build process. Once a PR is merged to master, if everything went well, it will be available for publishing.
To publish a new version:
- Go to https://github.com (preferably in incognito mode) and sign in as
strigops
- Go to https://app.netlify.com/sites/strigo-rest-docs/overview and sign in with GitHub
- Click the relevant item under "Production deploys", which represents the commit you want to deploy.
- Click the "Publish deploy" button.
- Done! The docs should now be up-to-date.
PRs are always welcome :)