gatsby-source-jsdoc

0.2.4 • Public • Published

gatsby-source-jsdoc

NPM

This plugin requires an instance of gatsby-source-filesystem to provide the source files. Then gatsby-source-jsdoc will generate Markdown files for gatsby-transformer-remark to process.

Install

$ npm install --save gatsby-source-jsdoc

How to use

Add the plugin to your gatsby-config.js and ensure sourceDir is pointed to the directory of your JavaScript source files.

{
  plugins: [
    {
      resolve: 'gatsby-source-filesystem',
      options: {
        name: 'source',
        path: `${__dirname}/src/`,
      },
    },
    {
      resolve: 'gatsby-source-jsdoc',
      options: {
        sourceDir: `${__dirname}/src/`,
      },
    },
  ],
}

Package Sidebar

Install

npm i gatsby-source-jsdoc

Weekly Downloads

1

Version

0.2.4

License

MIT

Unpacked Size

15.5 kB

Total Files

9

Last publish

Collaborators

  • gera2ld