Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c6ceea9a
Unverified
Commit
c6ceea9a
authored
Jul 01, 2024
by
David Dougherty
Committed by
GitHub
Jul 02, 2024
Browse files
DOC-3932: remove frontmatter attributes from module API spec generator (#13377)
This PR removes the Hugo frontmatter from this utility.
parent
799c5e5f
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/generate-module-api-doc.rb
View file @
c6ceea9a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment