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