1.0.0 • Published 3 years ago

docusaurus-plugin-snipsync v1.0.0

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

docusaurus-plugin-snipsync

Integrates snipsync into the docusaurus build process.

Installation

In the same directory as your docusaurus installation run:

npm install docusaurus-plugin-snipsync

-- Or --

yarn add docusaurus-plugin-snipsync

Usage

Add the plugin to the list of plugins in your docusaurus.config.js

module.exports = {
  // ...
  plugins: [
    [
      'docusaurus-plugin-snipsync',
      {
        origins: [
          {
            files: ['../*/src/*.ts', '../create-project/samples/*.ts'],
          },
        ],
        target: 'docs',
        features: {
          enable_source_link: false,
        },
      },
    ],
  ],
};