New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

docusaurus-plugin-doccov

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

docusaurus-plugin-doccov

Docusaurus plugin for DocCov - Generate API docs from OpenPkg specs

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

docusaurus-plugin-doccov

Docusaurus plugin for generating API documentation from OpenPkg specs.

Installation

npm install docusaurus-plugin-doccov

Usage

Add the plugin to your docusaurus.config.js:

module.exports = {
  plugins: [
    [
      'docusaurus-plugin-doccov',
      {
        specPath: './openpkg.json',
        routeBasePath: '/api',
        showCoverage: true,
        coverageThreshold: 80,
      },
    ],
  ],
};

Options

OptionTypeDefaultDescription
specPathstring'./openpkg.json'Path to the OpenPkg spec file
routeBasePathstring'/api'Base URL path for API docs
showCoveragebooleantrueShow coverage badges
coverageThresholdnumber80Minimum coverage for green badge

Generated Pages

The plugin generates:

  • Index page at /{routeBasePath} - Lists all exports with coverage stats
  • Export pages at /{routeBasePath}/{exportId} - Detailed docs for each export

Theme Components

The plugin provides two theme components that you can swizzle:

  • DocCovIndexPage - The API index page
  • DocCovExportPage - Individual export pages

Workflow

  • Generate your OpenPkg spec with DocCov CLI:

    doccov generate --output openpkg.json
    
  • Add the plugin to your Docusaurus config

  • Build your docs:

    npm run build
    

License

MIT

Keywords

docusaurus

FAQs

Package last updated on 25 Nov 2025

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