Skip to content

Commit

Permalink
Fix documentation hash generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimShtein authored and ekohl committed Aug 8, 2024
1 parent 13453ca commit d1868eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/foreman_theme_satellite/documentation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ def self.flat_docs_guides_links
source.map do |k, v|
key = "#{prefix}/#{k}"
if v.is_a?(Hash)
key_values.append(*nested_to_flat_k_v(key, v))
key_values.concat(nested_to_flat_k_v(key, v))
else
key_values.append([key, v])
key_values.concat([[key, v]])
end
end
key_values
end
end
end

0 comments on commit d1868eb

Please sign in to comment.