Coder Social home page Coder Social logo

imichaela / oscal-reference Goto Github PK

View Code? Open in Web Editor NEW

This project forked from usnistgov/oscal-reference

0.0 0.0 0.0 84.31 MB

Model reference pages for the OSCAL project

Home Page: https://pages.nist.gov/OSCAL-Reference/

License: Other

Shell 25.17% JavaScript 0.93% Makefile 12.09% HTML 38.15% SCSS 23.66%

oscal-reference's Introduction

OSCAL-Reference

This repository houses the infrastructure for the OSCAL model generation pipeline.

Usage

  1. Clone the repository and initialize submodules:
git clone
cd OSCAL-Reference
git submodule update --init
  • the OSCAL repository is quite large and when your internet connection is slow the default submodules init may take a while. Hence, to show progress on submodules init you may want to use the --progress option (available in git >= v2.11.0) in the following command:
git submodule update --init  --progress
  1. Generate the site
make site

To see other common operations, refer to the Makefile or simply run make help.

Local development

The target make serve runs builds the site and runs hugo serve.

Link-checking

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'

Speeding up the build

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

oscal-reference's People

Contributors

nikitawootten-nist avatar aj-stein-nist avatar compton-us avatar imichaela avatar justkuzya avatar wandmagic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.