Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling web documentation and website refactor #937

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Some work towards new docs production. Working experimental prototype.
  • Loading branch information
david-waltermire committed May 27, 2021
commit d163f545957125eccb27907f116c95b8a4fd71ae
2 changes: 1 addition & 1 deletion build/ci-cd/config/metaschema-docs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# path to metaschema source|path to documentation folder
src/metaschema/oscal_ssp_metaschema.xml|docs/content/documentation/schema/implementation-layer/ssp
src/metaschema/oscal_catalog_metaschema.xml|docs/content/documentation/schema/implementation-layer/ssp
4 changes: 2 additions & 2 deletions build/ci-cd/generate-model-documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ for i in "${!metaschema_paths[@]}"; do
echo "Doc File: $doc_file_path"
echo "Temp File: $temp_file_path"

# sed -n '/^<!-- DO NOT REMOVE. Generated text below -->$/q;p' "$doc_file_path" > "$doc_file_path"
# cat "$temp_file_path" >> "$doc_file_path"
sed -i '1,/<!-- DO NOT REMOVE. Generated text below -->/!d' "$doc_file_path"
cat "$temp_file_path" | sed 's|href="\([^"]*\).md#/|href="\1/#/|g' >> "$doc_file_path"
done


Expand Down
2 changes: 1 addition & 1 deletion build/metaschema
Loading