Package Exports
- docusaurus-plugin-snipsync
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docusaurus-plugin-snipsync) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-snipsyncUsage
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,
},
},
],
],
};