Requirements:
When setting up this repo, any of the doc watch calls will automatically clone the doc-ui submodule for you. Only using the full preview?
Call to clone the doc-ui
git submodule update --recursive --remote
UI Development has been moved to the doc-ui submodule
Ready to update the docs? Pick your module below or work with all the local components simultaneously.
Note, if you are only working on a single component, your reload time will be much faster when picking a single module over all of them*
yarn docs:watch
yarn docs:watch:develop
yarn docs:watch:filestorage
yarn docs:watch:home
yarn docs:watch:learn
yarn docs:watch:recipes
yarn docs:watch:technology
yarn docs:watch:validators
To pull from live repos in the playbook and serve from the UI bundle, first install ui npm libraries to allow the bundle to be built. Then cd into the parent folder, install the libraries and prepare the bundle. Then run the playbook and serve the files.
yarn
yarn prepare:ui # build UI
yarn prepare:docs # build docs
yarn serve