@servicetitan/docs-uikit
v34.3.0
Published
Documentation content for Uikit packages published at docs.st.dev
Downloads
892
Keywords
Readme
@servicetitan/docs-uikit
This package contains documentation for Uikit packages, published at https://docs.st.dev.
Preview changes locally
To preview changes use the local docusaurus project. See the docusaurus README for instructions.
Preview changes in situ
Use yalc to preview changes within the entire ServiceTitan Engineering documentation.
Initial setup
- Install the
yalcpackage globally
$ npm i yalc -g- Build the
uikitpackages
$ cd <path-to-uikit>
$ npm run build- Run
yalc publishin thepackages/docsfolder to publish the package documentation locally
$ cd ./packages/docs
$ yalc publish- Run
yalc add @servicetitan/docs-uikitin theservicetitan/docsrepo to use the locally published documents
$ cd <path-to-servicetitan/docs>
$ yalc add @servicetitan/docs-uikit- Update dependencies
$ npm i- Start Docusaurus
$ npm startThis opens the documentation in a browser window.
Live updates
To see further changes without having to restart the server,
- Run
yalc pushin the uikitpackages/docsfolder to push changes toservicetitan/docs
# > uikit/packages/docs
$ yalc push- Run
npm run prebuild(ornpm run import-package-docs) inservicetitan/docs
# > servicetitan/docs
$ npm run prebuild