Skip to content

HTML documentation for the OpenAPI specifications published by the National Emergency Number Association

Notifications You must be signed in to change notification settings

dunnl/NENA-OpenAPI-Docs

Repository files navigation

NENA OpenAPI Documentation

This repo contains scripts to generate documentation for OpenAPI specifications published by NENA on their Github page. Documentation is generated using Redocly.

Dependencies

  • Basic developer utilities (GNU make, find)
  • npm (The Node.js package manager)
  • gh (The Github CLI utility)

If you do not have these tools you will need to install them. A typical procedure to install npm on Ubuntu would look like the following. I recommend installing nvm first, like this:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

(Make sure you trust the above script.) Then run

nvm install --lts

to install the latest Long Term Support version of Node.js

If you do not have gh, installation on Ubuntu would look like this:

apt update
apt install gh

First time setup

The following only needs to be done once. First, login to Github with

gh auth login

Then initialize the worktree by running

make initialize

This will clone all of NENA's Github repos to a directory named NENA911. Then, all files ending in .yaml will be dumped into a yaml/ directory. Then you will need to install the remaining dependencies from package.json:

npm install

Usage

Run make to generate documentation under docs/

Clean the worktree with make clean. This will delete the generated HTML documentation and other build artifacts.

About

HTML documentation for the OpenAPI specifications published by the National Emergency Number Association

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published