Skip to content

yoichiwo7/docusaurus-search-local

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offline / Local Search for Docusaurus v2

Offline / local search for Docusaurus v2 that works behind your firewall.

Search in Action

Installation

yarn add @cmfcmf/docusaurus-search-local

or

npm install @cmfcmf/docusaurus-search-local

Usage

Add this plugin to the plugins array in docusaurus.config.js:

module.exports = {
  // ...
  plugins: [
    '@cmfcmf/docusaurus-search-local'
  ],
  // ...
}

You can now use the search bar to search your documentation.

Important: Search only works for the statically built documentation (i.e., after you ran yarn build in your documentation folder).

Search does not work in development (i.e., when running yarn start).

License

MIT

About

Offline / Local Search for Docusaurus v2. Try it live at:

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.6%
  • CSS 12.4%