Skip to content

Commit 4423e7c

Browse files
meili-bors[bot]PolyDevilbidoubiwa
authored
Merge #807
807: Fix links in readme r=bidoubiwa a=bidoubiwa Fixes some broken links on the readme Co-authored-by: _ <[email protected]> Co-authored-by: Charlotte Vermandel <[email protected]>
2 parents 393af35 + 939d5bd commit 4423e7c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ NB: If you don't have any Meilisearch instance running and containing your data,
4141
- [🔧 Installation](#-installation)
4242
- [🎬 Usage](#-usage)
4343
- [💅 Customization](#-customization)
44-
- [⚡️ Example with InstantSearch](#-example-with-instantSearch)
44+
- [🪡 Example with InstantSearch](#-example-with-instantsearch)
4545
- [🤖 Compatibility with Meilisearch and InstantSearch](#-compatibility-with-meilisearch-and-instantsearch)
4646
- [📜 API Resources](#-api-resources)
4747
- [⚙️ Development Workflow and Contributing](#️-development-workflow-and-contributing)
@@ -170,7 +170,7 @@ genres:
170170
{ keepZeroFacets : true } // default: false
171171
```
172172

173-
## ⚡️ Example with InstantSearch
173+
## 🪡 Example with InstantSearch
174174

175175
The open-source [InstantSearch](https://www.algolia.com/doc/api-reference/widgets/js/) library powered by Algolia provides all the front-end tools you need to highly customize your search bar environment.
176176

@@ -312,14 +312,14 @@ List of all the components that are available in [instantSearch](https://github.
312312
`instantSearch` is the main component. It manages the widget and lets you add new ones.
313313

314314
- ✅ IndexName: [`uid` of your index](https://docs.meilisearch.com/learn/core_concepts/indexes.html#indexes). _required_
315-
- ✅ SearchClient: Search client, in our case instant-meilisearch. See [customization](#customization) for details on options. _required_
315+
- ✅ SearchClient: Search client, in our case instant-meilisearch. See [customization](#-customization) for details on options. _required_
316316
- ❌ numberLocale: Does not work with both Algoliasearch and instant-meilisearch.
317317
- ✅ searchFunction: Surcharge the search function provided by the search client.
318318
- ✅ initialUiState: Determine the search state on app start.
319319
- ✅ onStateChange: Change search state on change (see option above).
320320
- ✅ stalledSearchDelay: Time in ms before search is considered stalled. [Used for loader](https://www.algolia.com/doc/guides/building-search-ui/going-further/improve-performance/js/#using-the-searchbox).
321321
- ✅ routing: browser URL synchronization, search parameters appear in current URL ([guide](https://www.algolia.com/doc/guides/building-search-ui/going-further/routing-urls/js/)).
322-
- ✅ insightsClient: Hook analytics to search actions ([see insight section](#insight)).
322+
- ✅ insightsClient: Hook analytics to search actions ([see insight section](#-insight)).
323323

324324
```js
325325
const search = instantsearch({
@@ -513,7 +513,7 @@ The `highlight` function returns an attribute from a hit into its highlighted fo
513513
- ✅ hit: Hit object. _required_
514514
- ✅ highlightedTagName: HTML element to wrap the highlighted parts of the string.
515515

516-
See [Hits](#hits) for an example.
516+
See [Hits](#-hits) for an example.
517517

518518
### ✅ Snippet
519519

@@ -525,7 +525,7 @@ The `snippet` function returns an attribute from a hit into its snippet form, wh
525525
- ✅ hit: Hit object. _required_
526526
- ✅ highlightedTagName: HTML element to wrap the highlighted parts of the string.
527527

528-
Note that the attribute has to be added to `attributesToSnippet` in [configuration](#configuration). Highlight is applied on snippeted fields.
528+
Note that the attribute has to be added to `attributesToSnippet` in [configuration](#-configure). Highlight is applied on snippeted fields.
529529

530530
Snippeting is called `cropping` in Meilisearch, [more about it here](https://docs.meilisearch.com/reference/features/search_parameters.html#attributes-to-retrieve). It is possible to change the size of the snippeting by adding its character size in the attributesToSnippet parameter. <br>
531531
For example: `"description:40"`.
@@ -906,7 +906,7 @@ instantsearch.widgets.clearRefinements({
906906

907907
The `pagination` widget displays a pagination system allowing the user to change the current page.
908908

909-
We do not recommend using this widget as pagination slows the search responses. Instead, the [InfiniteHits](#InfiniteHits) component is recommended.
909+
We do not recommend using this widget as pagination slows the search responses. Instead, the [InfiniteHits](#-infinitehits) component is recommended.
910910

911911
- ✅ container: The CSS Selector or HTMLElement to insert the widget into. _required_
912912
- ✅ showFirst: Whether to display the first-page link.
@@ -970,7 +970,7 @@ instantsearch.widgets.stats({
970970

971971
[Analytics](https://www.algolia.com/doc/api-reference/widgets/analytics/js/)
972972

973-
Deprecated. See [Insight](#Insight).
973+
Deprecated. See [Insight](#-insight).
974974

975975
### ❌ QueryRuleCustomData
976976

0 commit comments

Comments
 (0)