Skip to content

Commit

Permalink
Merge pull request #146 from Cray-HPE/perfect-wrecker
Browse files Browse the repository at this point in the history
render markdown lists properly (hack until later)
  • Loading branch information
jacobsalmela authored Sep 20, 2023
2 parents 8bb3d15 + 4330e50 commit 57d5b09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,13 @@ venv:
source venv/bin/activate
pip install -r requirements.txt

# this has a stupid hack to make the markdown lists show properly by sed'ing the
# resultant file. this hack also needs a short delay for the generated file to
# fully appear so it can be hacked
generate-hardwaretypes-docs:
mkdir -p docs/hardware-types
generate-schema-doc --config-file docs/generate-schema-doc-config.yml pkg/hardwaretypes/hardware-types/schema/devicetype.json docs/hardware-types/devicetype.md
$(shell sleep 5)
sed -i '' 's/Must be one of:/Must be one of:\n/g' docs/hardware-types/devicetype.md

generate: generate-swagger-sls-client generate-swagger-hsm-client generate-go generate-hardwaretypes-docs
Expand Down

0 comments on commit 57d5b09

Please sign in to comment.