Ensure your CodeQL query help files are valid by previewing them as Markdown.
.qhelp) files must have accompanying query (.ql) files with identical base names.To render your query help files as Markdown, run the following command:
codeql generate query-help <qhelp|query|dir|suite> --format=markdown [--output=<dir|file>]
For information on the options available for this command, see generate query-help.
If you receive any warning messages, review and fix them, then rerun the command. By default, the CodeQL CLI will print a warning message if:
.qhelp files specified in the command don’t have the same base name as an accompanying .ql file.ql files specified in the command don’t have the same base name as an accompanying .qhelp fileReview the rendered Markdown in your output directory, file, or terminal to check that your files appear as expected.