commit f4fd78c: [Doc] Add missing lua references

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Dec 27 18:28:05 UTC 2018


Author: Vsevolod Stakhov
Date: 2018-12-10 12:28:51 +0000
URL: https://github.com/rspamd/rspamd/commit/f4fd78cc16cba671475fe22ea619858340454c96

[Doc] Add missing lua references

---
 doc/Makefile      | 12 ++++++++++--
 src/lua/lua_map.c |  3 +++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index 8e03fe71a..54f2fbdde 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -20,8 +20,8 @@ lua-dirs:
 
 lua-doc: lua-dirs rspamd_regexp rspamd_ip rspamd_config rspamd_task ucl rspamd_http rspamd_trie \
 	rspamd_resolver rspamd_redis rspamd_upstream_list rspamd_expression rspamd_mimepart rspamd_logger rspamd_url \
-	rspamd_tcp rspamd_mempool rspamd_html rspamd_util rspamd_fann rspamd_sqlite3 rspamd_cryptobox \
-	lua_redis lua_util lua_maps
+	rspamd_tcp rspamd_mempool rspamd_html rspamd_util rspamd_fann rspamd_sqlite3 rspamd_cryptobox rspamd_map \
+	lua_redis lua_util lua_maps lua_clickhouse lua_selectors
 
 lua_redis:
 	$(LLUADOC) < ../lualib/lua_redis.lua > markdown/lua/lua_redis.md
@@ -32,6 +32,12 @@ lua_util:
 lua_maps:
 	$(LLUADOC) < ../lualib/lua_maps.lua > markdown/lua/lua_maps.md
 
+lua_clickhouse:
+	$(LLUADOC) < ../lualib/lua_clickhouse.lua > markdown/lua/lua_clickhouse.md
+
+lua_selectors:
+	$(LLUADOC) < ../lualib/lua_selectors.lua > markdown/lua/lua_selectors.md
+
 rspamd_regexp: ../src/lua/lua_regexp.c
 	$(LUADOC) < ../src/lua/lua_regexp.c > markdown/lua/rspamd_regexp.md
 rspamd_ip: ../src/lua/lua_ip.c
@@ -74,3 +80,5 @@ rspamd_sqlite3: ../src/lua/lua_sqlite3.c
 	$(LUADOC) < ../src/lua/lua_sqlite3.c > markdown/lua/rspamd_sqlite3.md
 rspamd_cryptobox: ../src/lua/lua_cryptobox.c
 	$(LUADOC) < ../src/lua/lua_cryptobox.c > markdown/lua/rspamd_cryptobox.md
+rspamd_map: ../src/lua/lua_map.c
+	$(LUADOC) < ../src/lua/lua_map.c > markdown/lua/rspamd_map.md
\ No newline at end of file
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c
index 9cf50f1a2..98b025ea2 100644
--- a/src/lua/lua_map.c
+++ b/src/lua/lua_map.c
@@ -24,6 +24,9 @@
  * This module is used to manage rspamd maps and map like objects
  *
  * @module rspamd_map
+ *
+ * All maps could be obtained by function `rspamd_config:get_maps()`
+ * Also see [`lua_maps` module description](lua_maps.html).
  */
 
 /***


More information about the Commits mailing list