Skip to content

Commit 1603f44

Browse files
Merge #1100
1100: Remove _md code samples for Mintlify migration r=curquiza a=curquiza Co-authored-by: Clémentine <[email protected]>
2 parents a90ddf8 + dc1b802 commit 1603f44

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.code-samples.meilisearch.yaml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,11 @@ landing_getting_started_1: |-
397397
])
398398
getting_started_check_task_status: |-
399399
client.get_task(0)
400-
getting_started_add_documents_md: |-
401-
```bash
402-
pip3 install meilisearch
403-
```
400+
getting_started_add_documents: |-
401+
# In the command line:
402+
# pip3 install meilisearch
404403
405-
```python
404+
# In your .py file:
406405
import meilisearch
407406
import json
408407
@@ -411,15 +410,8 @@ getting_started_add_documents_md: |-
411410
json_file = open('movies.json', encoding='utf-8')
412411
movies = json.load(json_file)
413412
client.index('movies').add_documents(movies)
414-
```
415-
416-
[About this SDK](https://github.com/meilisearch/meilisearch-python/)
417-
getting_started_search_md: |-
418-
```python
413+
getting_started_search: |-
419414
client.index('movies').search('botman')
420-
```
421-
422-
[About this SDK](https://github.com/meilisearch/meilisearch-python/)
423415
getting_started_add_meteorites: |-
424416
import json
425417

0 commit comments

Comments
 (0)