category: packages private: true
ui-docs-client
A client application to display documentation made by Rock Content.
Installation
yarn add @temporg/ui-docs-client
Usage
import renderDocsClient from '@temporg/ui-docs-client'
const props = {
docs: {},
parents: {},
sections: {},
library: {}
}
renderDocsClient(props, document.getElementById('app'))
Note: The data for the props argument is generated by the @temporg/ui-docs-plugin.
Development
From the root of the rock-kit
repo:
- Run
yarn build:watch
- Run
yarn dev
- Open http://localhost:8080/ in your browser