Unverified Commit c6ceea9a authored by David Dougherty's avatar David Dougherty Committed by GitHub
Browse files

DOC-3932: remove frontmatter attributes from module API spec generator (#13377)

This PR removes the Hugo frontmatter from this utility.
parent 799c5e5f
......@@ -137,18 +137,8 @@ def is_func_line(src, i)
src[i-1] =~ /\*\//
end
puts "---\n"
puts "title: \"Modules API reference\"\n"
puts "linkTitle: \"API reference\"\n"
puts "weight: 1\n"
puts "description: >\n"
puts " Reference for the Redis Modules API\n"
puts "aliases:\n"
puts " - /topics/modules-api-ref\n"
puts "---\n"
puts "\n"
puts "<!-- This file is generated from module.c using\n"
puts " utils/generate-module-api-doc.rb -->\n\n"
puts " redis/redis:utils/generate-module-api-doc.rb -->\n\n"
src = File.open(File.dirname(__FILE__) ++ "/../src/module.c").to_a
# Build function index
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment