File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,16 @@ mkdir -p deploy-preview/js
9
9
10
10
cp -p node_modules/respec/builds/respec-w3c.* deploy-preview/js/
11
11
12
- cd scripts/md2html
13
-
14
12
filename=src/oas.md
15
- tempfile=../../ deploy-preview/temp/oas.html
13
+ tempfile=deploy-preview/temp/oas.html
16
14
echo " === ${filename} ==="
17
15
18
- node md2html.js --maintainers ../../ EDITORS.md ../../ ${filename} > $tempfile
19
- npx respec --use-local --src $tempfile --out ../../ deploy-preview/oas.html
16
+ node scripts/ md2html/md2html .js --maintainers EDITORS.md ${filename} > $tempfile
17
+ npx respec --use-local --src $tempfile --out deploy-preview/oas.html
20
18
rm $tempfile
21
19
22
20
echo Built deploy-preview/oas.html
23
21
echo
24
22
25
- rm -r ../../ deploy-preview/js
26
- rmdir ../../ deploy-preview/temp
23
+ rm -r deploy-preview/js
24
+ rmdir deploy-preview/temp
You can’t perform that action at this time.
0 commit comments