Skip to content

Commit

Permalink
DOC-2324: Fix demos
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchC1999 committed Apr 5, 2024
1 parent 06da318 commit e00c3d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion -scripts/api-reference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ unzip -o "$API_TMPDIR/tinymce-api-reference.zip"
rm -rf modules/ROOT/pages/apis/

# removed old static api html pages (clear cache), it can corrupt the build
rm -rf build/site/_/tinymce/6.0/apis/
rm -rf build/site/tinymce/6/apis/

# move newly generated adoc pages, antora will then generate new static html pages
mv _data/antora modules/ROOT/pages/apis
Expand Down
5 changes: 3 additions & 2 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ content:
branches: [ 5, 7 ]
urls:
html_extension_style: indexify
latest_version_segment: latest
ui:
bundle:
url: https://tiny-cloud-docs-antora-themes-staging.s3.amazonaws.com/ui-bundle.zip
asciidoc:
attributes:
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/6-dev/tinymce.min.js
extensions:
- '@tinymce/antora-extension-livedemos'
runtime:
fetch: true

0 comments on commit e00c3d1

Please sign in to comment.