Skip to content

Updating MLCube documentation [WIP]#278

Merged
sergey-serebryakov merged 8 commits into
mlcommons:masterfrom
sergey-serebryakov:misc/docs_for_cli
Dec 6, 2022
Merged

Updating MLCube documentation [WIP]#278
sergey-serebryakov merged 8 commits into
mlcommons:masterfrom
sergey-serebryakov:misc/docs_for_cli

Conversation

@sergey-serebryakov

Copy link
Copy Markdown
Contributor

This commit introduces several features:

  • Documentation for MLCube system settings configuration.
  • Automatic documentation generation for MLCube command line interface. This is done using mkdocs-click plugin (what implies that mkdocs requirements now include mlcube requirements).

How to test the new documentation:

  • Clone the MLCube project, switch this branch and create a python virtual environment.
  • Install requirements: pip install mkdocs-requirements.txt
  • Run mkdocs server: mkdocs serve.

Due to browser caching feature, if you do not see new pages (System Settings and Command Line Interface) in the Getting Started section, reload the page with Ctrl-F5 to bypass browser cache.

This commit introduces several features:
- Documentation for MLCube system settings configuration.
- Automatic documentation generation for MLCube command line interface. This is done using `mkdocs-click` extension (what implies that mkdocs requirements now include mlcube requirements).

How to test the new documentation:
- Clone, create python virtual environment.
- Install requirements: `pip install mkdocs-requirements.txt`
- Run mkdocs server: `mkdocs serve`.

Due to browser caching feature, if you do not see new pages (System Settings and Command Line Interface) in the Getting Started section, reload the page with Ctrl-F5 to bypass browser cache.
@github-actions

github-actions Bot commented Nov 2, 2022

Copy link
Copy Markdown
Contributor

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

- Adding support to remove markdown syntax when print help message on a console.
- Updating help messages for MLCube commands and their options. In particular, adding custom epilogues to click commands that show usage examples.
- Transitioning from arguments for configuration parameters to options (-P/-p).
…le (cli.py).

Adding unit test for CLI classes.
Updating protobuf verison from 3.20.1 to 3.20.3.
@sergey-serebryakov
sergey-serebryakov merged commit 985ac15 into mlcommons:master Dec 6, 2022
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 6, 2022
@sergey-serebryakov
sergey-serebryakov deleted the misc/docs_for_cli branch December 6, 2022 16:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants