Skip to content

Commit

Permalink
DOC-2324: Update playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchC1999 committed Mar 22, 2024
1 parent 51d0b22 commit 34e39b4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 173 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/feature_5_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: yarn build

- name: (Feature - Docs 5) Build Website
run: yarn antora ./antora-playbook-dev.yml
run: yarn antora ./antora-playbook.yml

- name: (deploy) Prepare for branch deployments
shell: bash
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/release_5_docs.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/staging_5_docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion _scripts/api-reference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rm -rf _data
rm -rf "$API_TMPDIR"
mkdir "$API_TMPDIR"
curl -s "$TARBALL_URL" | tar xzf - -C "$API_TMPDIR" --strip-components 1
npx moxiedoc "$API_TMPDIR/modules/tinymce/src/core/main/ts" -t antora -s "legacy" -o "$API_TMPDIR/tinymce-api-reference.zip"
npx moxiedoc "$API_TMPDIR/modules/tinymce/src/core/main/ts" -t antora -s legacy -o "$API_TMPDIR/tinymce-api-reference.zip"
unzip -o "$API_TMPDIR/tinymce-api-reference.zip"

# remove old api adoc pages
Expand Down
19 changes: 0 additions & 19 deletions antora-playbook-dev.yml

This file was deleted.

17 changes: 0 additions & 17 deletions antora-playbook-prod.yml

This file was deleted.

19 changes: 0 additions & 19 deletions antora-playbook-staging.yml

This file was deleted.

8 changes: 6 additions & 2 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
site:
title: TinyMCE 5 Documentation
url: https://www.tiny.cloud/docs
title: TinyMCE 5
url: https://localhost:4000
start_page: tinymce::index.adoc
content:
sources:
- url: ./
branches: HEAD
start_path: ./
- url: https://github.com/MitchC1999/tinymce-docs.git
branches: [ 6, 7 ]
urls:
html_extension_style: indexify
ui:
Expand All @@ -15,3 +17,5 @@ ui:
asciidoc:
extensions:
- '@tinymce/antora-extension-livedemos'
runtime:
fetch: true

0 comments on commit 34e39b4

Please sign in to comment.