Skip to content

Commit 168e642

Browse files
Merge #627
627: Remove _md code samples for Mintlify migration r=curquiza a=curquiza Co-authored-by: Clémentine <[email protected]>
2 parents dd4ec5f + 61d6a8f commit 168e642

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.code-samples.meilisearch.yaml

+5-13
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,11 @@ add_movies_json_1: |-
369369
movies_json = File.read('movies.json')
370370
movies = JSON.parse(movies_json)
371371
client.index('movies').add_documents(movies)
372-
getting_started_add_documents_md: |-
373-
```bash
374-
$ bundle add meilisearch
375-
```
372+
getting_started_add_documents: |-
373+
# In the command line:
374+
# bundle add meilisearch
376375
377-
```ruby
376+
# In your .rb file:
378377
require 'json'
379378
require 'meilisearch'
380379
@@ -384,15 +383,8 @@ getting_started_add_documents_md: |-
384383
movies = JSON.parse(movies_json)
385384
386385
client.index('movies').add_documents(movies)
387-
```
388-
389-
[About this SDK](https://www.github.com/meilisearch/meilisearch-ruby)
390-
getting_started_search_md: |-
391-
```ruby
386+
getting_started_search: |-
392387
client.index('movies').search('botman')
393-
```
394-
395-
[About this SDK](https://www.github.com/meilisearch/meilisearch-ruby)
396388
filtering_update_settings_1: |-
397389
client.index('movies').update_filterable_attributes([
398390
'director',

0 commit comments

Comments
 (0)