Documentation for @cosmotech/ui components
Documentation for the UI components of Cosmo Tech Azure Sample Webapp. This project documents and shows how to use the components.
We use docz to build our documentation.
yarn install to install all dependencies requried to build the documentation.
Then, you can use
yarn docz:dev to build the documentation and serve it locally at http://localhost:3000/ (default).
yarn docz:build will generate a static site for your site in
You can try it out with
yarn docz:serve or by serving the generated site with your favorite static file server (e.g.
npx serve .docz/dist).
Be careful if you have specified a
base config in your doczrc.js it's not used in
By default the
base config is specified for automatic deployment on our Github pages.
You can have
yarn docz:build emit to a different directory by providing a path to the
dest field in your doczrc.js or from the command line :
yarn docz:build --dest docs-site-directory.
The output of docz consists of static assets only. This allows you to deploy your generated
docz site with any static site hosting provider you'd like.
Start by building your site with
yarn docz:build, if you haven't provided a
dest flag to your config then you will find your generated files in
.docz/dist to copy to the server.
To remove docz build and clear dependencies, run