haystack/.github/utils/pydoc-markdown.sh

11 lines
205 B
Bash
Executable File

#!/bin/bash
set -e # Fails on any error in the following loop
cd docs/pydoc
rm -rf temp && mkdir temp
cd temp
for file in ../config/* ; do
echo "Converting $file..."
pydoc-markdown "$file"
done