Skip to content

Commit

Permalink
Fix model links in outline pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitawootten-nist committed Aug 1, 2023
1 parent bd9b4d7 commit aa1b6fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/archetypes/model-reference/json-outline.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ aliases:
{{ end }}
---

The following outline is a representation of the JSON format for this [model](https://pages.nist.gov/OSCAL/concepts/layer/{{ getenv "HUGO_SCHEMA_ID" }}/{{ getenv "HUGO_MODEL_ID" }}/),
The following outline is a representation of the JSON format for this [model](https://pages.nist.gov/OSCAL/concepts/layer/{{ getenv "HUGO_LAYER_ID" }}/{{ getenv "HUGO_SCHEMA_ID" }}/),
whose schema can be {{ if eq (getenv "HUGO_REF_TYPE") "tag" }}found [here](https://github.com/usnistgov/OSCAL/releases/download/{{ getenv "HUGO_REF_BRANCH" }}/oscal_{{ getenv "HUGO_SCHEMA_ID" }}_schema.json){{ else }}built using [the following instructions](https://github.com/usnistgov/OSCAL/blob/{{ getenv "HUGO_REF_BRANCH" }}/build/README.md#artifact-generation){{ end }}.
For each property, the name links to the corresponding entry in the [JSON Format Reference](../json-reference/).
The cardinality and data type are also provided for each property where appropriate.
Expand Down
2 changes: 1 addition & 1 deletion site/archetypes/model-reference/xml-definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ aliases:
{{ end }}
---

The following is a reference for the XML element and attribute types derived from the [metaschema](https://github.com/usnistgov/OSCAL/blob/{{ getenv "HUGO_REF_BRANCH" }}//src/metaschema/oscal_{{ getenv "HUGO_SCHEMA_ID" }}_metaschema.xml) for this [model](https://pages.nist.gov/OSCAL/concepts/layer/{{ getenv "HUGO_LAYER_ID" }}/{{ getenv "HUGO_SCHEMA_ID" }}/).
The following is a reference for the XML element and attribute types derived from the [metaschema](https://github.com/usnistgov/OSCAL/blob/{{ getenv "HUGO_REF_BRANCH" }}/src/metaschema/oscal_{{ getenv "HUGO_SCHEMA_ID" }}_metaschema.xml) for this [model](https://pages.nist.gov/OSCAL/concepts/layer/{{ getenv "HUGO_LAYER_ID" }}/{{ getenv "HUGO_SCHEMA_ID" }}/).

{{< rawhtml >}}
{{ os.ReadFile (printf "%s/%s" (getenv "HUGO_MODEL_DATA_DIR") "xml-definitions.html") }}
Expand Down

0 comments on commit aa1b6fb

Please sign in to comment.