Skip to content

Commit fab1b00

Browse files
committed
fix(docs): use dedicated package script instead of inline task
The docs:package task in mise.toml was trying to package files that didn't exist (markdown/API.md and README.md in docs/api/). Replaced the inline script with a call to the existing package.sh script which properly packages the HTML documentation. The package.sh script correctly: - Validates documentation exists before packaging - Packages only the HTML documentation that's actually generated - Creates both .tar.gz and .zip archives for distribution
1 parent 46117b6 commit fab1b00

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

mise.toml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,4 @@ run = """
9494

9595
[tasks."docs:package"]
9696
description = "Package documentation for distribution"
97-
run = """
98-
echo "Packaging documentation..."
99-
100-
# Create archive name with version
101-
VERSION=$(grep PROJECT_NUMBER Doxyfile | cut -d'"' -f2 | tr -d ' ')
102-
ARCHIVE="eql-docs-xml-${VERSION}.tar.gz"
103-
104-
# Package XML + schemas + README + Markdown
105-
cd docs/api
106-
tar -czf "../../${ARCHIVE}" \
107-
--no-xattrs \
108-
xml/*.xml \
109-
xml/*.xsd \
110-
markdown/API.md \
111-
README.md
112-
cd ../..
113-
114-
echo ""
115-
echo "✓ Documentation packaged: ${ARCHIVE}"
116-
echo " Contents: XML files, XSD schemas, Markdown API reference, README"
117-
echo ""
118-
echo "Extract with: tar -xzf ${ARCHIVE}"
119-
"""
97+
run = "./tasks/docs/package.sh"

0 commit comments

Comments
 (0)