File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ echo -e "\n > importing data files for tinymce api reference: local from $1\n"
1414
1515rm -rf " $API_TMPDIR "
1616mkdir " $API_TMPDIR "
17- npx moxiedoc " $1 /modules/tinymce/src/core/main/ts" -t antora -s " legacy " - o " $API_TMPDIR /tinymce-api-reference.zip"
17+ npx moxiedoc " $1 /modules/tinymce/src/core/main/ts" -t antora -o " $API_TMPDIR /tinymce-api-reference.zip"
1818unzip -o " $API_TMPDIR /tinymce-api-reference.zip"
1919
2020# remove old api adoc pages
21- rm -rf modules/ROOT/pages/api /
21+ rm -rf modules/ROOT/pages/apis /
2222
2323# removed old static api html pages (clear cache), it can corrupt the build
24- rm -rf build/site/tinymce/5/api /
24+ rm -rf build/site/tinymce/5/apis /
2525
2626# move newly generated adoc pages, antora will then generate new static html pages
27- mv _data/antora/api modules/ROOT/pages
27+ mv _data/antora modules/ROOT/pages/apis
2828
2929# move api navigation
3030mv _data/moxiedoc_nav.adoc modules/ROOT/moxiedoc_nav.adoc
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ unzip -o "$API_TMPDIR/tinymce-api-reference.zip"
2020rm -rf modules/ROOT/pages/apis/
2121
2222# removed old static api html pages (clear cache), it can corrupt the build
23- rm -rf build/site/_/ tinymce/5/apis/
23+ rm -rf build/site/tinymce/5/apis/
2424
2525# move newly generated adoc pages, antora will then generate new static html pages
2626mv _data/antora modules/ROOT/pages/apis
You can’t perform that action at this time.
0 commit comments