# docusaurus-plugin-content-tools

> Easy overview with routes to your tools

Latest version **0.1.0** (published 2022-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install docusaurus-plugin-content-tools
pnpm add docusaurus-plugin-content-tools
yarn add docusaurus-plugin-content-tools
bun add docusaurus-plugin-content-tools
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-07-11 |
| First published | 2022-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 72.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Webber |
| Maintainers | webbertakken |
| Keywords | docusaurus, plugin, theme, tools, homepage |

## Links

- npm: https://www.npmjs.com/package/docusaurus-plugin-content-tools
- Repository: https://github.com/webbertakken/docusaurus-plugin-content-tools
- Issues: https://github.com/webbertakken/docusaurus-plugin-content-tools/issues
- npm.io page: https://npm.io/package/docusaurus-plugin-content-tools

## Dependencies (6)

- [@docusaurus/core](https://npm.io/package/@docusaurus/core.md) 2.0.0-beta.21
- [@docusaurus/types](https://npm.io/package/@docusaurus/types.md) 2.0.0-beta.21
- [@docusaurus/theme-common](https://npm.io/package/@docusaurus/theme-common.md) 2.0.0-beta.21
- [@docusaurus/theme-classic](https://npm.io/package/@docusaurus/theme-classic.md) ^2.0.0-beta.21
- [@docusaurus/utils-validation](https://npm.io/package/@docusaurus/utils-validation.md) ^2.0.0-beta.21
- [@docusaurus/theme-translations](https://npm.io/package/@docusaurus/theme-translations.md) 2.0.0-beta.21

## Recent versions

- 0.1.0 (latest) — 2022-07-11

## README

# Docusaurus tools plugin

> An easy way to index and route tools on your docusaurus page.

## Introduction

You can specify one of your components folders to be your tools folder. Inside that folder you can
create 1 folder per tool, that exposes a React component through its `index.ts`. Each tool will
generate each own page. Links will be indexed on the tools main page.

See it in action on [Takken.io](https://takken.io).

## Setup

### Install dependencies

Choose one:

```bash
# NPM
npm install dotenv docusaurus-plugin-content-tools

# Yarn
yarn add dotenv docusaurus-plugin-content-tools
```

### Configure

#### `docusaurus.config.js`

```js
const config = {
  // Configure plugin
  plugins: [
    [
      'docusaurus-plugin-content-tools',
      {
        enabled: true,
        verbose: true,
        toolsFolder: '@site/src/components/pages/Tools',
      },
    ],
  ],

  // Configure navbar
  themeConfig: {
    navbar: {
      items: [{ to: '/tools', label: 'Tools', position: 'left' }],
    },
  },
}
```

### Options

#### `enabled`

Whether this plugin is enabled.

_**required:** `false`_ _**default:** `true`_

#### `verbose`

Gives output about retrieving the tools during build time

_**required:** `false`_ _**default:** `false`_

#### `toolsFolder`

The folder that you mark as your tools-folder. Must begin with `@site`.

> Example: `'@site/src/components/pages/Tools'`

_**required:** `true`_ _**default:** `undefined`_

#### `toolPageComponent`

Which component to use for showing the tool page (wrapper for the tool itself).

_**required:** `false`_ _**default:** `'@theme/ToolPage'`_

#### `toolOverviewPageComponent`

Which component to use for showing the tools overview page.

_**required:** `false`_ _**default:** `'@theme/ToolOverviewPage''`_

## Contributing

Contributions are welcome!

Please read the [contributing guide](./CONTRIBUTING.md).

## License

[MIT](./LICENSE) licensed.

---
_Source: https://npm.io/package/docusaurus-plugin-content-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
