New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gasket/plugin-docusaurus

Package Overview
Dependencies
Maintainers
6
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gasket/plugin-docusaurus

Gasket plugin for docusaurus

  • 6.21.0-canary.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-87.41%
Maintainers
6
Weekly downloads
 
Created
Source

@gasket/plugin-docusaurus

Use Docusaurus to serve a website view of the collated docs from @gasket/plugin-docs.

Installation

New apps
gasket create <app-name> --plugins @gasket/plugin-docs,@gasket/plugin-docusaurus
Existing apps
npm i @gasket/plugin-docs @gasket/plugin-docusaurus

Modify plugins section of your gasket.config.js:

module.exports = {
  plugins: {
    add: [
+      '@gasket/plugin-docs',
+      '@gasket/plugin-docusaurus'
    ]
  }
}

Now, when you run npx gasket docs in your app, a nice Docusaurus website will be launched in your browser.

Configuration

To be set under docusaurus in the gasket.config.js.

  • docsDir - (string) Name of the root documents folder. Default is .docs.
  • port - (number) Port to serve the docs from. Default is 3000.
  • host - (string) Hostname to serve the docs from. Default is localhost.
Example
// gasket.config.js

module.exports = {
  docusaurus: {
    docsDir: 'my-documents',
    port: 8000,
    host: 'custom-host'
  }
};

docusaurus.config.js

A required docusaurus.config.js will generated in the root directory if one is not present. Docusaurus allows for additional configuration/customization options and you can define those directly in the docusaurus.config.js.

License

MIT

Keywords

FAQs

Package last updated on 25 May 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc