Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions auditbeat/docs/modules_list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ This file is generated! See scripts/docs_collector.py

* <<{beatname_lc}-module-auditd,Auditd>>
* <<{beatname_lc}-module-file_integrity,File Integrity>>
* <<{beatname_lc}-module-system,System>>


--

include::./modules/auditd.asciidoc[]
include::./modules/file_integrity.asciidoc[]
include::../../x-pack/auditbeat/docs/modules/system.asciidoc[]
10 changes: 0 additions & 10 deletions auditbeat/scripts/docs_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,10 @@ def collect(base_paths):

module_list_output = generated_note
for m, title in sorted(six.iteritems(modules_list)):
if m == "system":
# This is a very crude way of excluding references to X-Pack docs from
# the build until the docs build is updated with the new folder.
# TODO: Remove at the earliest possible time.
continue
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You did remove it at the earliest possible time! 💯

module_list_output += " * <<{beatname_lc}-module-" + m + "," + title + ">>\n"

module_list_output += "\n\n--\n\n"
for module_name, module_path in sorted(six.iteritems(module_dirs)):
if module_name == "system":
# This is a very crude way of excluding references to X-Pack docs from
# the build until the docs build is updated with the new folder.
# TODO: Remove at the earliest possible time.
continue
rel_path_to_module_docs = os.path.relpath(module_docs_path(module_path), docs_path)
module_list_output += "include::" + \
os.path.join(rel_path_to_module_docs, "modules", module_name + ".asciidoc") + "[]\n"
Expand Down