Skip to content

Commit

Permalink
DOC-2384: Added local playbook and dev scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchC1999 committed Apr 19, 2024
1 parent 0681f02 commit ed5a711
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
19 changes: 19 additions & 0 deletions antora-playbook-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
site:
title: TinyMCE Documentation
url: https://www.tiny.cloud/docs
start_page: tinymce::index.adoc
content:
sources:
- url: ./
branches: HEAD
start_path: ./
urls:
html_extension_style: indexify
ui:
bundle:
url: https://tiny-cloud-docs-antora-themes-staging.s3.amazonaws.com/ui-bundle.zip
asciidoc:
extensions:
- '@tinymce/antora-extension-livedemos'
runtime:
fetch: true
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
},
"homepage": "https://www.tiny.cloud/docs/",
"scripts": {
"watch": "nodemon --exec antora antora-playbook.yml",
"server": "http-server build/site/ --port 4000",
"serve": "npm-run-all -p watch server",
"build": "./-scripts/api-reference.sh",
"build-local": "./-scripts/api-reference-local.sh",
"build-local-ref": "./-scripts/api-reference-local.sh",
"clean": "rm -rf ./build",
"start": "yarn clean && yarn serve"
"nodemon": "nodemon --exec yarn antora ./antora-playbook.yml",
"nodemon-dev": "nodemon --exec yarn antora ./antora-playbook-local.yml",
"server": "http-server build/site/ --port 4000",
"serve": "npm-run-all -p nodemon server",
"serve-dev": "npm-run-all -p nodemon-dev server",
"start": "yarn clean && yarn serve",
"start-dev": "yarn clean && yarn serve-dev"
},
"author": "Tiny Technologies Inc",
"license": "CC-BY-NC-SA-3.0",
Expand Down

0 comments on commit ed5a711

Please sign in to comment.