Socket
Socket
Sign inDemoInstall

rollup-plugin-typedoc

Package Overview
Dependencies
16
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rollup-plugin-typedoc

Runs typedoc compilation as a rollup plugin


Version published
Weekly downloads
4
Maintainers
1
Created
Weekly downloads
 

Readme

Source

do not use it

it's broken currently

rollup-plugin-typedoc

This plugin runs Typedoc to generate your API documentation as a step of your Rollup flow.

Setup

npm i rollup-plugin-typedoc --save-dev

Typedoc is required as peer dependency.

npm i typedoc --save-dev

Usage

import typescript from '@rollup/plugin-typescript';
import typedoc from 'rollup-plugin-typedoc';

// see https://typedoc.org/guides/options/
const options = {
    out: './docsDir',
    entryPoints: ['./src'],
};
// the plugin reads tsconfig.json, typedoc.json,
// and your custom options (as above) and merges them
export default [
    {
        input: 'src/index.ts',
        plugins: [
            typescript(),
            typedoc(options)
        ],
    }
];

Note: do not include this plugin for your watch configurations for performance reasons.

License

Copyright © 2021, Sergey Chernykh. Released under the MIT License.

Keywords

FAQs

Last updated on 20 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc