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

Build javadoc style documentation for canonical json

Notifications You must be signed in to change notification settings

standardhealth/shr-json-javadoc

Repository files navigation

Content Has Moved!

The shr-json-javadoc repo has been integrated into the shr-tools monorepo. All further development will be in shr-tools/packages/shr-json-javadoc.

Current releases can be found at shr-tools/releases.

shr-json-javadoc

This project will convert the canonical JSON files into HTML that form a javadoc style representation.

Installing the Project

Before getting started on any development, one will need to have the following installed:

From the command line, execute the following command in the directory where you want the spec_json2html directory to be put:

$ git clone https://github.com/standardhealth/shr-json-javadoc.git

Setting Up the Environment

$ cd shr-json-javadoc/
$ npm install

You may need to use sudo (for OSX, *nix, BSD etc) or run your command shell as Administrator (for Windows) for the grunt CLI.

Building the HTML

To assemble the project, assuming the canonical json is in the same directory, run:

$ node export.js

To customize the output and source directories, use flags

$ node export.js -s ../path/to/canonicaljson -o ./reference-model

To open the site, open index.html, from the output directory, in your browser.

About the Team Behind The Standard Health Record

The MITRE Corporation is a not-for-profit organization working in the public interest that operates federally funded research and development centers to provide innovative solutions to national problems.

License

Copyright 2017 The MITRE Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.