Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Latest commit

 

History

History

node-processor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Node User Guide Publisher

A node script to add user guide pages to the NHS Wales Developer Portal.

Run node src/index.js {/path/to/user-guides} {/path/to/website/files} to add the user guides (see below for info on what the paths should be)

Get {/path/to/user-guides}

  1. Go to the the latest GitHub Action run of the API catalogue and download the user-guides build artifact.
  2. Unzip it to a location of your choice
  3. Use the path as the first argument when running the script

Get {/path/to/website/files}

The layout is based on the API Details page from the developer portal (published using paperbits).

  1. Publish the latest version of the portal:
  1. Use {location-of-your-repo}/dist/website as the second argument when running the script