mirror of
https://github.com/go-i2p/www.git
synced 2025-06-07 21:15:47 -04:00
add listing script
This commit is contained in:
1
cmd.sh
1
cmd.sh
@ -8,6 +8,7 @@ output=$(basename $1).md
|
|||||||
mkdir -p "$outdir"
|
mkdir -p "$outdir"
|
||||||
if [ ! -d "$outdir/_static" ]; then
|
if [ ! -d "$outdir/_static" ]; then
|
||||||
cp -r static "processed/_static"
|
cp -r static "processed/_static"
|
||||||
|
touch "processed/.nojekyll"
|
||||||
fi
|
fi
|
||||||
echo python3 "$main" --to-markdown --assets-dir static/ -o "$outdir/$output" "$input" "translations/$LANGUAGE/LC_MESSAGES/$posource"
|
echo python3 "$main" --to-markdown --assets-dir static/ -o "$outdir/$output" "$input" "translations/$LANGUAGE/LC_MESSAGES/$posource"
|
||||||
python3 "$main" --to-markdown --assets-dir static/ -o "$outdir/$output" "$input" "translations/$LANGUAGE/LC_MESSAGES/$posource" 2>> err.$LANGUAGE.log 1>> log.$LANGUAGE.log
|
python3 "$main" --to-markdown --assets-dir static/ -o "$outdir/$output" "$input" "translations/$LANGUAGE/LC_MESSAGES/$posource" 2>> err.$LANGUAGE.log 1>> log.$LANGUAGE.log
|
||||||
|
Reference in New Issue
Block a user