Skip to content

Commit

Permalink
fixing the paths for lookbook previews
Browse files Browse the repository at this point in the history
  • Loading branch information
mxriverlynn committed Dec 8, 2022
1 parent b8f0676 commit a365165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/docs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ namespace :docs do
def lookbook_url(component)
path = component.name.underscore.gsub("_component", "")

"https://primer.style/view-components/lookbook/inspect/#{path}/default/"
"https://primer.style/view-components/lookbook/inspect/#{path}_preview/default/"
end

def preview_exists?(component)
Expand Down

0 comments on commit a365165

Please sign in to comment.