Skip to content

Commit ac2b43c

Browse files
authored
DOC-2384: Added local playbook and dev scripts (#3249)
1 parent 746db09 commit ac2b43c

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

antora-playbook-local.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
site:
2+
title: TinyMCE Documentation
3+
url: https://www.tiny.cloud/docs
4+
start_page: tinymce::index.adoc
5+
content:
6+
sources:
7+
- url: ./
8+
branches: HEAD
9+
start_path: ./
10+
urls:
11+
html_extension_style: indexify
12+
ui:
13+
bundle:
14+
url: https://tiny-cloud-docs-antora-themes-staging.s3.amazonaws.com/ui-bundle.zip
15+
asciidoc:
16+
extensions:
17+
- '@tinymce/antora-extension-livedemos'
18+
runtime:
19+
fetch: true

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@
1111
"build": "./-scripts/api-reference.sh",
1212
"build-local-ref": "./-scripts/api-reference-local.sh",
1313
"clean": "rm -rf ./build",
14-
"nodemon-dev": "nodemon --exec yarn antora ./antora-playbook.yml",
14+
"nodemon": "nodemon --exec yarn antora ./antora-playbook.yml",
15+
"nodemon-dev": "nodemon --exec yarn antora ./antora-playbook-local.yml",
1516
"server": "http-server build/site/ --port 4000",
16-
"serve": "npm-run-all -p nodemon-dev server",
17-
"start": "yarn clean && yarn serve"
17+
"serve": "npm-run-all -p nodemon server",
18+
"serve-dev": "npm-run-all -p nodemon-dev server",
19+
"start": "yarn clean && yarn serve",
20+
"start-dev": "yarn clean && yarn serve-dev"
1821
},
1922
"author": "Tiny Technologies Inc",
2023
"license": "CC-BY-NC-SA-3.0",

0 commit comments

Comments
 (0)