diff --git a/utils/generate-module-api-doc.rb b/utils/generate-module-api-doc.rb index c6872e903..cba08f765 100755 --- a/utils/generate-module-api-doc.rb +++ b/utils/generate-module-api-doc.rb @@ -137,7 +137,16 @@ def is_func_line(src, i) src[i-1] =~ /\*\// end -puts "# Modules API reference\n\n" +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 "\n\n" src = File.open(File.dirname(__FILE__) ++ "/../src/module.c").to_a