mirror of
http://github.com/valkey-io/valkey
synced 2024-11-21 08:37:40 +00:00
Injects Hugo FrontMatter to module-api.md (#10658)
This commit is contained in:
parent
f36eac9f68
commit
6c65345edb
@ -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 "<!-- This file is generated from module.c using\n"
|
||||
puts " utils/generate-module-api-doc.rb -->\n\n"
|
||||
src = File.open(File.dirname(__FILE__) ++ "/../src/module.c").to_a
|
||||
|
Loading…
Reference in New Issue
Block a user