Skip to content

Commit

Permalink
Review 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGirard committed Feb 25, 2025
1 parent 473c012 commit 0627e9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion guide/layouts/partials/related-info.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.fr-mt-4w
%h2
Plus d'informations sur le composant #{@item[:title]}
Plus d'informations

%ul
- links.each do |text, link|
Expand Down
4 changes: 2 additions & 2 deletions guide/lib/helpers/content_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def site_title

def dsfr_component_doc_links(doc_id = nil, storybook_id = nil)
{
"Voir dans la documentation officielle" => "#{DSFR_COMPONENT_DOC_HREF}/#{doc_id}/",
"Voir sur le Storybook officiel" => "#{DSFR_COMPONENT_STORYBOOK_HREF}/?path=/docs/#{storybook_id}--docs"
"Voir #{@item[:title]} dans la documentation officielle" => "#{DSFR_COMPONENT_DOC_HREF}/#{doc_id}/",
"Voir #{@item[:title]} sur le Storybook officiel" => "#{DSFR_COMPONENT_STORYBOOK_HREF}/?path=/docs/#{storybook_id}--docs"
}
end
end
Expand Down

0 comments on commit 0627e9f

Please sign in to comment.