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.
This project will convert the canonical JSON files into HTML that form a javadoc style representation.
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
$ 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.
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.
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.
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.