@servicetitan/docs-anvil-uikit-contrib
v28.3.0
Published
This package contains documentation for Frontend Community packages, published at https://docs.st.dev.
Downloads
228
Keywords
Readme
@servicetitan/docs-anvil-uikit-contrib
This package contains documentation for Frontend Community packages, published at https://docs.st.dev.
Preview changes in situ
Use yalc
to preview changes within the entire ServiceTitan Engineering documentation.
Initial setup
- Install the
yalc
package globally
$ npm i yalc -g
- Build the
anvil-uikit-contrib
packages
$ cd <path-to-anvil-uikit-contrib>
$ npm run build
- Run
yalc publish
in thepackages/docs
folder to publish the package documentation locally
$ cd ./packages/docs
$ yalc publish
- Run
yalc add @servicetitan/docs-anvil-uikit-contrib
in theservicetitan/docs
repo to use the locally published documents
$ cd <path-to-servicetitan/docs>
$ yalc add @servicetitan/docs-anvil-uikit-contrib
- Update dependencies
$ npm i
- Start Docusaurus
$ npm start
This opens the documentation in a browser window.
Live updates
To see further changes without having to restart the server,
- Run
yalc push
in the anvil-uikit-contribpackages/docs
folder to push changes toservicetitan/docs
# > anvil-uikit-contrib/packages/docs
$ yalc push
- Run
npm run prebuild
(ornpm run import-package-docs
) inservicetitan/docs
# > servicetitan/docs
$ npm run prebuild