@@ -33,25 +33,25 @@ cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.0.3.md
33
33
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.1.0.md
34
34
# add lines for 3.0.4, 3.1.1, ...
35
35
36
- # TODO: remove if static html variant is used
37
36
cp -p ../../node_modules/respec/builds/respec-w3c.* ../../deploy/js/
38
37
39
38
latest=` git describe --abbrev=0 --tags`
40
39
latestCopied=none
41
40
for filename in ../../versions/[23456789].* .md ; do
42
41
version=$( basename " $filename " .md)
42
+ tempfile=../../deploy/oas/v$version -tmp.html
43
43
echo -e " \n=== v$version ==="
44
- node md2html.js --respec --maintainers ./history/MAINTAINERS_v$version .md ${filename} > ../../deploy/oas/v $version .html
45
- # TODO: produce static file as v$version.html without -static infix
46
- npx respec --use-local --src ../../deploy/oas/v $version .html --out ../../deploy/oas/v $version -static.html
44
+ node md2html.js --respec --maintainers ./history/MAINTAINERS_v$version .md ${filename} > $tempfile
45
+ npx respec --use-local --src $tempfile --out ../../deploy/oas/ v$version .html
46
+ rm $tempfile
47
47
if [ $version = $latest ]; then
48
48
if [[ ${version} != * " rc" * ]]; then
49
49
# version is not a Release Candidate
50
50
cp -p ../../deploy/oas/v$version .html ../../deploy/oas/latest.html
51
- cp -p ../../deploy/oas/v$version -static.html ../../deploy/oas/latest-static.html # TODO: remove
52
51
latestCopied=v$version
53
52
fi
54
53
fi
55
54
done
56
55
echo Latest tag is $latest , copied $latestCopied to latest.html
57
56
57
+ rm ../../deploy/js/respec-w3c.*
0 commit comments