# @instructure/ui-docs

> A webpack plugin to generate documentation made by Instructure Inc.

Latest version **3.0.0** (published 2017-08-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @instructure/ui-docs
pnpm add @instructure/ui-docs
yarn add @instructure/ui-docs
bun add @instructure/ui-docs
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2017-08-03 |
| First published | 2017-07-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Author | Instructure, Inc. Engineering and Product Design |
| Maintainers | felixmc, claydiffrient, jimsimon, codequistador, jenseng, sejensen, personable, colleenpalmer, mzabriskie, jstern |

## Links

- npm: https://www.npmjs.com/package/@instructure/ui-docs
- Repository: https://github.com/instructure/ui-docs
- Homepage: https://instructure.github.io/ui-docs/
- Issues: https://github.com/instructure/ui-docs/issues
- npm.io page: https://npm.io/package/@instructure/ui-docs

## Dependencies (9)

- [globby](https://npm.io/package/globby.md) 6.1.0
- [gray-matter](https://npm.io/package/gray-matter.md) 3.0.2
- [html-loader](https://npm.io/package/html-loader.md) 0.4.5
- [loader-utils](https://npm.io/package/loader-utils.md) 1.1.0
- [react-docgen](https://npm.io/package/react-docgen.md) 2.16.0
- [markdown-loader](https://npm.io/package/markdown-loader.md) 2.0.1
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) 2.29.0
- [favicons-webpack-plugin](https://npm.io/package/favicons-webpack-plugin.md) 0.0.7
- [script-ext-html-webpack-plugin](https://npm.io/package/script-ext-html-webpack-plugin.md) 1.8.3

## Recent versions

- 3.0.0 (latest) — 2017-08-03
- 3.1.0-dev.2 (dev) — 2017-08-09
- 3.0.0-beta.0 (beta) — 2017-08-02
- 0.0.1-alpha.2 (alpha) — 2017-07-20
- 3.1.0-dev.1 — 2017-08-09
- 3.1.0-dev.0 — 2017-08-08
- 2.0.0-dev.2 — 2017-08-02
- 2.0.1-dev — 2017-08-02
- 2.0.0 — 2017-07-25
- 2.0.0-beta.1 — 2017-07-25
- 1.0.1 — 2017-07-24
- 1.0.0 — 2017-07-21
- 0.0.1 — 2017-07-20
- 0.0.1-alpha.1 — 2017-07-19
- 0.0.1-alpha — 2017-07-19
- … 1 more at https://npm.io/package/@instructure/ui-docs/versions

## README

[npm]: https://img.shields.io/npm/v/@instructure/ui-docs.svg
[npm-url]: https://npmjs.com/package/@instructure/ui-docs

[![npm][npm]][npm-url]

### Installation

```sh
npm install @instructure/ui-docs
```

### Usage

In your webpack config add the plugin:

```js
const path = require('path')
const pkg = require('./package.json')

new DocsPlugin({
  title: `${pkg.name} : ${pkg.description} (${pkg.version})`,
  favicon: path.join(__dirname, 'logo.png'),
  library: {
    packageName: pkg.name,
    packageMain: pkg.main,
    name: 'MyLibrary',
    description: pkg.description,
    version: pkg.version,
    repository: pkg.repository.url,
    author: pkg.author,
    codepen: { // codpen button form data
      js_external: [
        `${pkg.homepage}common.js`,
        `${pkg.homepage}${pkg.name}.js`,
        `${pkg.homepage}globals.js`
      ]
    }
  },
  globals: { // for component playground and codepen examples
    moment: 'moment'
  },
  files: {
    components: [
      path.join(__dirname, 'lib/components/*/index.js') // only top level components
    ],
    docs: [
      path.join(__dirname, 'README.md'),
      path.join(__dirname, 'CHANGELOG'),
      path.join(__dirname, 'docs/*.md')
    ]
  },
  template: path.join(__dirname, 'templates/docs/index.tmpl.html')
})
```

### Browser Support

- Internet Explorer 11 and Edge
- Chrome, Safari, Firefox (last two versions)

### License

[MIT](LICENSE)

---
_Source: https://npm.io/package/@instructure/ui-docs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
