Skip to content

Commit dd4ec5f

Browse files
Merge #602
602: Add yardoc documentation to client.rb r=brunoocasali a=ellnix # Pull Request This contains preliminary work on #596 to address the lack of anything more than surface-level documentation on this gem. ## Related issue Fixes #596 ## How to view documentation 1. `gem install yardoc` 2. `yardoc doc` 3. `yardoc server` 4. Visit `localhost:8808` With live updates: requires `entr` - In terminal 1: `ls lib/**/*.rb | entr -c yardoc doc` - In terminal 2: `yardoc server -r` ## Steps - [ ] Wait for input on #596 - [ ] Write documentation for other files - [ ] Add documentation check to Github actions - [ ] Publish documentation Co-authored-by: ellnix <[email protected]>
2 parents 6ffc322 + 02418e2 commit dd4ec5f

File tree

3 files changed

+323
-8
lines changed

3 files changed

+323
-8
lines changed

.rubocop_todo.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-03-31 12:39:31 UTC using RuboCop version 1.71.2.
3+
# on 2025-04-02 09:32:03 UTC using RuboCop version 1.75.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -30,3 +30,16 @@ Metrics/ParameterLists:
3030
Naming/AccessorMethodName:
3131
Exclude:
3232
- 'lib/meilisearch/index.rb'
33+
34+
# Offense count: 1
35+
# This cop supports safe autocorrection (--autocorrect).
36+
Style/IfUnlessModifier:
37+
Exclude:
38+
- 'lib/meilisearch/index.rb'
39+
40+
# Offense count: 1
41+
# This cop supports safe autocorrection (--autocorrect).
42+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
43+
# URISchemes: http, https
44+
Layout/LineLength:
45+
Max: 155

0 commit comments

Comments
 (0)