File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ 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
36
37
cp -p ../../node_modules/respec/builds/respec-w3c.* ../../deploy/js/
37
38
38
39
latest=` git describe --abbrev=0 --tags`
@@ -41,10 +42,13 @@ for filename in ../../versions/[23456789].*.md ; do
41
42
version=$( basename " $filename " .md)
42
43
echo -e " \n=== v$version ==="
43
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
47
if [ $version = $latest ]; then
45
48
if [[ ${version} != * " rc" * ]]; then
46
49
# version is not a Release Candidate
47
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
48
52
latestCopied=v$version
49
53
fi
50
54
fi
You can’t perform that action at this time.
0 commit comments