99.10.0 • Published 5 years ago

@temporg/website-docs v99.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

category: packages

website-docs

npm  build-status  MIT License  Code of Conduct

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:

  1. Run yarn build:watch
  2. Run yarn dev
  3. Open http://localhost:8080/ in your browser