Skip to content

Commit 30b0f41

Browse files
authored
DOC-2324: Configure 5 branch to build aggregated site for development
DOC-2324: Configure 5 branch to build aggregated site for development
2 parents 57e7697 + fb1ff56 commit 30b0f41

File tree

9 files changed

+9
-235
lines changed

9 files changed

+9
-235
lines changed

.github/workflows/feature_5_docs.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/release_5_docs.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/staging_5_docs.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

_scripts/api-reference.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rm -rf _data
1313
rm -rf "$API_TMPDIR"
1414
mkdir "$API_TMPDIR"
1515
curl -s "$TARBALL_URL" | tar xzf - -C "$API_TMPDIR" --strip-components 1
16-
npx moxiedoc "$API_TMPDIR/modules/tinymce/src/core/main/ts" -t antora -s "legacy" -o "$API_TMPDIR/tinymce-api-reference.zip"
16+
npx moxiedoc "$API_TMPDIR/modules/tinymce/src/core/main/ts" -t antora -s legacy -o "$API_TMPDIR/tinymce-api-reference.zip"
1717
unzip -o "$API_TMPDIR/tinymce-api-reference.zip"
1818

1919
# remove old api adoc pages

antora-playbook-dev.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

antora-playbook-prod.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

antora-playbook-staging.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

antora-playbook.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
site:
2-
title: TinyMCE 5 Documentation
2+
title: TinyMCE Documentation
33
url: https://www.tiny.cloud/docs
44
start_page: tinymce::index.adoc
55
content:
66
sources:
77
- url: ./
88
branches: HEAD
99
start_path: ./
10+
- url: https://github.com/MitchC1999/tinymce-docs.git
11+
branches: [ 6, 7 ]
1012
urls:
1113
html_extension_style: indexify
1214
ui:
@@ -15,3 +17,5 @@ ui:
1517
asciidoc:
1618
extensions:
1719
- '@tinymce/antora-extension-livedemos'
20+
runtime:
21+
fetch: true

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"server": "http-server build/site/ --port 4000",
1313
"serve": "npm-run-all -p watch server",
1414
"build": "./_scripts/api-reference.sh",
15-
"build-local": "./_scripts/api-reference-local.sh"
15+
"build-local": "./_scripts/api-reference-local.sh",
16+
"clean": "rm -rf ./build",
17+
"start": "yarn clean && yarn serve"
1618
},
1719
"author": "Tiny Technologies Inc",
1820
"license": "CC-BY-NC-SA-3.0",

0 commit comments

Comments
 (0)