diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-04-03 14:51:26 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-04-03 14:51:26 +0000 |
| commit | d4d2ef777d1cb060cc84ddf1d9ccce9d9885a846 (patch) | |
| tree | 37f8e5097b712d1a01faa96605a0779011627541 /sandbox/infrastructure/docutils-update.local | |
| parent | 35e986a897ef28ee5bbc73bdd8585cac1e006262 (diff) | |
| download | docutils-d4d2ef777d1cb060cc84ddf1d9ccce9d9885a846.tar.gz | |
switch to html5
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8661 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/infrastructure/docutils-update.local')
| -rwxr-xr-x | sandbox/infrastructure/docutils-update.local | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sandbox/infrastructure/docutils-update.local b/sandbox/infrastructure/docutils-update.local index 4fa07272f..c7312d9ac 100755 --- a/sandbox/infrastructure/docutils-update.local +++ b/sandbox/infrastructure/docutils-update.local @@ -221,7 +221,7 @@ while read -r txtfile ; do done ) -# for any file in htmlfilelist +# for any file in htmlfilelist create missing files with old mtime while read -r htmlfile ; do if [ ! -d `dirname $htmlfile` ] ; then print_feedback "Old htmlfile entry: $htmlfile" @@ -234,6 +234,8 @@ done < $htmlfilelist # 3. re/generate html from txt cd $htdocsdest/tools +# TODO use buildhtml.py ? + for htmlfile in `find .. -name '*.html'` ; do dir=`dirname $htmlfile` base=`basename $htmlfile .html` @@ -255,7 +257,7 @@ for htmlfile in `find .. -name '*.html'` ; do haschanges=1 else print_feedback "$txtfile" - python $lib/tools/rst2html.py --config=$dir/docutils.conf $txtfile $htmlfile + python $lib/tools/rst2html5.py --config=$dir/docutils.conf $txtfile $htmlfile haschanges=1 fi fi |
