cmfcmf / docusaurus-search-local

Offline / Local Search for Docusaurus v2. Try it live at:
https://cmfcmf.github.io/OpenWeatherMap-PHP-API/
MIT License
438 stars 67 forks source link

add `docsPath` option #78

Closed duanwilliam closed 2 years ago

duanwilliam commented 2 years ago

resolves #72 . Adds a plugin option to specify which folder the docs are contained in.

I made minimal updates index.test.js to account for this new option but I don't know if it's comprehensive and/or necessarily what you're looking for with the tests.

cmfcmf commented 2 years ago

Thank you @duanwilliam!

cmfcmf commented 2 years ago

Hey @duanwilliam, I found a way to rewrite the plugin so that the docsPath option is no longer required at all - just in case you are confused when you checkout the newest release (0.7.0).