Skip to content

Commit ebef2df

Browse files
committed
DOC-2324: Update playbook and script folders
1 parent 3161871 commit ebef2df

File tree

9 files changed

+6
-5
lines changed

9 files changed

+6
-5
lines changed
File renamed without changes.

_new_content_templates/configuration-option-setting.adoc renamed to -new-material-templates/configuration-option-setting.adoc

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
if [[ -z $1 ]] ; then
66
echo 'You need to specify the root tinymce directory to generate the source for'
7-
echo './_scripts/api-reference-local ../tinymce'
7+
echo './-scripts/api-reference-local ../tinymce'
88
exit 1
99
fi
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ -e $list_file ]
2525
then
2626
echo ""
2727
else
28-
echo "please execute from the TinyMCE documentation root directory (such as './_scripts/icon_list_refresh.sh') and ensure '$list_file' exists"
28+
echo "please execute from the TinyMCE documentation root directory (such as './-scripts/icon_list_refresh.sh') and ensure '$list_file' exists"
2929
exit 1
3030
fi
3131

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ To view the documentation; in a web browser, navigate to [http://127.0.0.1:4000]
6060
6161
> **Note**: The development version of the documentation will update automatically when you save changes locally.
6262
63-
The `yarn build` step will download the latest TinyMCE package and generate new API reference content from source code. To change the version of TinyMCE API, open the `_scripts/api-reference.sh` file and edit the API_VERSION to the TinyMCE version you would like to generate API docs for. Alternatively, to build using a local version of TinyMCE, `yarn build-local ../path/to/local/TinyMCE`.
63+
The `yarn build` step will download the latest TinyMCE package and generate new API reference content from source code. To change the version of TinyMCE API, open the `-scripts/api-reference.sh` file and edit the API_VERSION to the TinyMCE version you would like to generate API docs for. Alternatively, to build using a local version of TinyMCE, `yarn build-local ../path/to/local/TinyMCE`.
6464
6565
> **Note**: The development server does not need to be stopped prior to running the `yarn build` command, antora should pick up the new changes generated by the build step.
6666

antora-playbook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ content:
1111
branches: [ 6, 7 ]
1212
urls:
1313
html_extension_style: indexify
14+
latest_version_segment: latest
1415
ui:
1516
bundle:
1617
url: https://tiny-cloud-docs-antora-themes-staging.s3.amazonaws.com/ui-bundle.zip

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"watch": "nodemon --exec antora antora-playbook.yml",
1212
"server": "http-server build/site/ --port 4000",
1313
"serve": "npm-run-all -p watch server",
14-
"build": "./_scripts/api-reference.sh",
15-
"build-local": "./_scripts/api-reference-local.sh",
14+
"build": "./-scripts/api-reference.sh",
15+
"build-local": "./-scripts/api-reference-local.sh",
1616
"clean": "rm -rf ./build",
1717
"start": "yarn clean && yarn serve"
1818
},

0 commit comments

Comments
 (0)