qmk_firmware/lib/python/qmk/cli/xap/generate_docs.py
2021-08-11 21:08:32 +10:00

11 lines
No EOL
454 B
Python
Executable file

"""This script generates the XAP protocol documentation.
"""
from milc import cli
from qmk.xap.gen_docs.generator import generate_docs
@cli.subcommand('Generates the XAP protocol documentation.', hidden=False if cli.config.user.developer else True)
def xap_generate_docs(cli):
"""Generates the XAP protocol documentation by merging the definitions files, and producing the corresponding Markdown document under `/docs/`.
"""
generate_docs()