Skip to content

Latest commit

 

History

History
 
 

docs

Development

To get started:

  1. make install
  2. Install Hugo
  3. make dev

To live reload the webpack theme in themes/oso-webpack, run:

cd themes/oso-webpack
npm run serve

Developing API docs

If you'd like to update API docs & test those, run make run to include them in the build.

This requires all the dependencies for the Oso build to be setup.

Search Index Generation

The search folder has a tiny Go program that can create an index from the Hugo files and send to Algolia for search

Usage of ./searcher:
  -app_id string
    	Algolia Application ID
  -index string
    	Algolia Index
  -key string
    	Algolia Admin API KEY
  -v	Whether to output debugging information

You can get API keys from Algolia at https://www.algolia.com/apps/{APPLICATION_ID}/api-keys/all

Useful resources

Components