libopenstorage.github.io

module
v0.0.2-0...-4af8db3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: Apache-2.0

README

OpenStorage API Website

This stores the sources and output for https://libopenstorage.github.io. This website is created using gitbook. All sources and markdown files are in the docs directory. The output html created by gitbook is located in w directory.

Environment setup

First, you may need to install npm. Then install gitbook:

$ npm install -g gitbook-cli

To build:

make

To serve locally on http://localhost:4000 while editing, run:

make serve

Generating API Documentation

To generate it, you will need to install protoc-gen-doc

Then type make api to generate the API documentation.

Releasing

When releasing new version use the following method to maintain that release version on the documentation website:

  1. Add an entry to getcontent.sh
  2. Edit reference.md.tmpl
  3. Add an entry in the reference in docs/SUMMARY.md
  4. Create docs/swagger-ui/<branch>.index.html and adjust the json file accordingly

More information

Directories

Path Synopsis
examples
golang command
Example code
Example code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL