Skip to content

Commit

Permalink
improve building docs on different systems
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Oct 25, 2024
1 parent 12fa15e commit 1aae906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -683,11 +683,13 @@ docs_checks:
done

docs_plugins:
echo -e "[/modules]\nCheckBuiltinPlugins = enabled\n" > snclient_docs.ini
set -e; \
for CHK in $(DOC_PLUGINS); do \
echo "updating docs/checks/plugins/$$CHK.md"; \
./snclient -logfile stderr run $$CHK help=md > docs/checks/plugins/$$CHK.md ; \
./snclient --config snclient_docs.ini -logfile stderr run $$CHK help=md > docs/checks/plugins/$$CHK.md ; \
done
rm -f snclient_docs.ini

docs_check_service:
# create fake linux check_service with help from the windows one to update the markdown file
Expand Down

0 comments on commit 1aae906

Please sign in to comment.