8000 GitHub - gitpocket/gitbook-plugin-search-languages: this plugin will replace keyword search in gitbook to your language.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gitpocket/gitbook-plugin-search-languages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitbook Search Launguages

NOTE: this plugin is WIP

this plugin will replace keyword search in gitbook to your language.

description

lunr.js is used for a key word search in gitbook. but tokenizer and stemmer of lunr.js is default setting. That means that it's only English setting. this plugin will replace keyword search in gitbook to your language. This plug-in uses lunr-languages in tokenizer and stemmer.

lunr-languages is supporting following languages.

language code
German de
French fr
Spanish es
Italian it
Japanese jp
Dutch du
Danish da
Portuguese pt
Finnish fi
Romanian ro
Hungarian hu
Russian ru
Norwegian no
Turkish tr
Swedish sv

this plugin strongly depend on lunr-languages.

How to use it?

Add it to your book.json configuration:

{
	...
    "plugins": ["search","lunr","search-languages"],
	...
    "pluginsConfig": {
        "search_languages": {
            "lang": "jp"
        }
    }
}

Install your plugins using:

$ gitbook install

change logs

  • version 0.0.1 (2015-11-17)

About

this plugin will replace keyword search in gitbook to your language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0