This repository houses the infrastructure for the OSCAL model generation pipeline.
git clone
cd OSCAL-Reference
git submodule update --init
git submodule update --init --progress
make site
To see other common operations, refer to the Makefile
or simply run make help
.
The target make serve
runs builds the site and runs hugo serve
.
This repository uses Lychee to crawl the built site for bad external and internal links.
To perform link-checking, run the target make linkcheck
.
The link checker produces a report, nominally located at ./lychee_report.md
.
Lychee is configured to ignore URL patterns present in the ./support/lychee.toml
.
Additional configuration can be specified using the Makefile variable LYCHEE_EXTRA_FLAGS
:
# Cache server responses to save bandwidth on repeated runs
make linkcheck LYCHEE_EXTRA_FLAGS='--cache'
Some tasks such as generating the model documentation can be done in parallel for each target release.
Passing the -j <number>
flag will allow for parallel execution of makefile targets and can significantly speed up build times.
Pass in an appropriate value (usually the core count of the current machine), e.x.:
make site -j 8