Skip to content

Commit

Permalink
Testing#2 html to md conversion script
Browse files Browse the repository at this point in the history
  • Loading branch information
hars-21 committed Jan 25, 2025
1 parent 286f5aa commit 578f611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

echo "Generating documentation..."
npm run generate-docs
# find docs/docs/auto-docs -name '*.html' -delete && \
# find docs/docs/auto-docs -name 'README.md' -delete && \
echo "Documentation generated."

# Calling HTML to MD conversion script
echo "Running HTML to Markdown conversion..."
.husky/scripts/convert_html_to_md.sh

# Removing temporary docs to clear space
# Removing unwanted files to clear space
rm -rf "docs/temp-docs"
find docs/docs/auto-docs -name '*.html' -delete
find docs/docs/auto-docs -name 'README.md' -delete

echo "Adding updated Markdown files to commit..."
git add docs/docs/auto-docs/

0 comments on commit 578f611

Please sign in to comment.