summaryrefslogtreecommitdiff
path: root/utils/generate-module-api-doc.rb
Commit message (Collapse)AuthorAgeFilesLines
* Module API docs corrections (#10890)Viktor Söderqvist2022-06-211-4/+5
| | | | * Fix typo `RedisModule_CreatString` -> `RedisModule_CreateString` (multiple occurrences) * Make the markdown gen script change all `RM_` to `RedisModule_` even in code examples, etc.
* Module api doc generator, fixing issue with negative lookback terminating at ↵Steve Lorello2022-06-081-1/+1
| | | | | | | "." (#10832) There is a little regex that wraps up all the free-floating functions in the doc-block e.g. malloc() with backticks. in case of `redis.call()`, it used to wrap just `call()` in backticks.
* Module API doc script: Mark unreleased API functions (#10674)Viktor Söderqvist2022-05-031-4/+3
| | | | | | | * Module API doc script: Mark unreleased API functions * fix broken quotes in generate-module-api-doc.rb Co-authored-by: Oran Agra <oran@redislabs.com>
* Injects Hugo FrontMatter to module-api.md (#10658)Itamar Haber2022-04-281-1/+10
|
* fix file permissions for scripts in utils folder (#10241)Oran Agra2022-02-051-0/+2
| | | make sure the scripts are executable
* Add 'Available since' to module API function docs (#10229)Viktor Söderqvist2022-02-031-0/+194
The script which generates the markdown docs from module.c is updated to include the version in which each module API function was introduced. The script uses git tags to find this information. If git is not available or if we're not in a git repo, the 'since' is silently skipped. The line `**Available since:** (version)` is added after the function prototype Rename to utils/generate-module-api-doc.rb