Skip to content

Commit

Permalink
Rename cli-reference-header.md to avoid it being included in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amisevsk committed Mar 5, 2024
1 parent 0413fb0 commit 4597169
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Kit CLI Reference

1 change: 1 addition & 0 deletions docs/src/docs/cli/cli-reference.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Kit CLI Reference

## kit build

Builds a modelkit
Expand Down
2 changes: 1 addition & 1 deletion docs/src/docs/cli/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find "$DOCS_DIR/" -name "kit*.md"
echo ""

# Truncate cli-reference doc and insert header
cat "$DOCS_DIR/cli-reference-header.md" > "$DOCS_DIR/cli-reference.md"
cat "$DOCS_DIR/cli-reference.header" > "$DOCS_DIR/cli-reference.md"

echo "Building cli-reference.md"
for file in $(find "$DOCS_DIR/" -name "kit_*.md" | sort); do
Expand Down

0 comments on commit 4597169

Please sign in to comment.