You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,12 +72,12 @@ yarn add nodejieba
72
72
| indexDocs | boolean |`true`| Whether to index docs. |
73
73
| indexBlog | boolean |`true`| Whether to index blog. |
74
74
| indexPages | boolean |`false`| Whether to index pages. |
75
-
| docsRouteBasePath | string |`"/docs"`| Base route path of docs. Slash at beginning is not required. |
76
-
| blogRouteBasePath | string |`"/blog"`| Base route path of blog. Slash at beginning is not required. |
75
+
| docsRouteBasePath | string \| string[]|`"/docs"`| Base route path of docs. Slash at beginning is not required. |
76
+
| blogRouteBasePath | string \| string[]|`"/blog"`| Base route path of blog. Slash at beginning is not required. |
77
77
| language | string \| string[]|`"en"`| All [lunr-languages](https://github.com/MihaiValentin/lunr-languages) supported languages, + `zh` 🔥. |
78
78
| hashed | boolean |`false`| Whether to add a hashed query when fetching index (based on the content hash of all `*.md`) |
79
-
| docsDir | string |`"docs"`| The dir of docs to get the content hash, it's relative to the dir of your project. |
80
-
| blogDir | string |`"blog"`| Just like the `docsDir` but applied to blog. |
79
+
| docsDir | string \| string[]|`"docs"`| The dir of docs to get the content hash, it's relative to the dir of your project. |
80
+
| blogDir | string \| string[]|`"blog"`| Just like the `docsDir` but applied to blog. |
81
81
| removeDefaultStopWordFilter | boolean |`false`| Sometimes people (E.g., us) want to keep the English stop words as indexed, since they maybe are relevant in programming docs. |
82
82
| searchResultLimits | number |`8`| Limit the search results. |
83
83
| searchResultContextMaxLength | number |`50`| Set the max length of characters of each search result to show. results. |
0 commit comments