generate_docs.py 454 B

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