Skip to content

Commit 6659000

Browse files
authored
Merge pull request #240 from inertiajs/server_driven_meta_tags
Server driven meta tags
2 parents c595834 + dbae623 commit 6659000

18 files changed

+1161
-40
lines changed

.rubocop_todo.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config --exclude-limit 10000`
3-
# on 2025-04-10 07:56:29 UTC using RuboCop version 1.75.2.
3+
# on 2025-07-25 08:41:37 UTC using RuboCop version 1.79.0.
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
@@ -44,7 +44,7 @@ Layout/ExtraSpacing:
4444
- 'spec/inertia/request_spec.rb'
4545
- 'spec/inertia/response_spec.rb'
4646

47-
# Offense count: 2
47+
# Offense count: 16
4848
# This cop supports safe autocorrection (--autocorrect).
4949
# Configuration parameters: IndentationWidth.
5050
# SupportedStyles: special_inside_parentheses, consistent, align_braces
@@ -184,8 +184,8 @@ Style/BlockDelimiters:
184184
# This cop supports unsafe autocorrection (--autocorrect-all).
185185
# Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules.
186186
# SupportedStyles: nested, compact
187-
# SupportedStylesForClasses: , nested, compact
188-
# SupportedStylesForModules: , nested, compact
187+
# SupportedStylesForClasses: ~, nested, compact
188+
# SupportedStylesForModules: ~, nested, compact
189189
Style/ClassAndModuleChildren:
190190
Exclude:
191191
- 'lib/inertia_rails/helper.rb'
@@ -404,7 +404,7 @@ Style/SoleNestedConditional:
404404
Exclude:
405405
- 'lib/inertia_rails/controller.rb'
406406

407-
# Offense count: 78
407+
# Offense count: 81
408408
# This cop supports safe autocorrection (--autocorrect).
409409
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
410410
# SupportedStyles: single_quotes, double_quotes
@@ -434,7 +434,7 @@ Style/StringLiterals:
434434
- 'spec/inertia/rspec_helper_spec.rb'
435435
- 'spec/rails_helper.rb'
436436

437-
# Offense count: 2
437+
# Offense count: 3
438438
# This cop supports safe autocorrection (--autocorrect).
439439
# Configuration parameters: .
440440
# SupportedStyles: percent, brackets
@@ -466,9 +466,9 @@ Style/TrailingCommaInHashLiteral:
466466
- 'spec/inertia/response_spec.rb'
467467
- 'spec/inertia/rspec_helper_spec.rb'
468468

469-
# Offense count: 19
469+
# Offense count: 32
470470
# This cop supports safe autocorrection (--autocorrect).
471-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
471+
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
472472
# URISchemes: http, https
473473
Layout/LineLength:
474474
Max: 276

docs/.vitepress/config.mts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ export default defineConfig({
167167
{ text: 'Inertia Modal', link: '/cookbook/inertia-modal' },
168168
],
169169
},
170+
{
171+
text: 'Inertia-Rails-Only Features',
172+
items: [
173+
{
174+
text: 'Server Managed Meta Tags',
175+
link: '/cookbook/server-managed-meta-tags',
176+
},
177+
],
178+
},
170179
{
171180
text: 'Troubleshooting',
172181
items: [

0 commit comments

Comments
 (0)