Skip to content

Commit a6fe10e

Browse files
meteorlxyulivz
authored andcommitted
docs: add a tip for built-in search and fix typo (#262)
1 parent 4a2e58f commit a6fe10e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/default-theme-config/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ module.exports = {
259259
}
260260
```
261261

262+
::: tip
263+
Built-in Search only builds index from the title, `h2` and `h3` headers, if you need full text search, you can use [Algolia Search](#algolia-search).
264+
:::
265+
262266
### Algolia Search
263267

264268
The `themeConfig.algolia` option allows you to use [Algolia DocSearch](https://community.algolia.com/docsearch/) to replace the simple built-in search. To enable it, you need to provide at least `apiKey` and `indexName`:

lib/default-theme/DropdownTransition.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<script>
1111
export default {
12-
name: 'SidebarGroup',
12+
name: 'DropdownTransition',
1313
methods: {
1414
setHeight (items) {
1515
// explicitly set height so that it can be transitioned

0 commit comments

Comments
 (0)