-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Use mkdocs-typer to generated documentation for CLI scripts
Note that the example from mkdocs-typer README no longer works because of changes in how typer itself works.
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# CLI Reference | ||
|
||
This page provides documentation for PatchScope command line tools. | ||
|
||
|
||
[//]: # (see https://github.com/bruce-szalwinski/mkdocs-typer/issues/18) | ||
|
||
::: mkdocs-typer | ||
:module: diffannotator.generate_patches | ||
:command: app | ||
:prog_name: diff-generate | ||
|
||
::: mkdocs-typer | ||
:module: diffannotator.annotate | ||
:command: app | ||
:prog_name: diff-annotate | ||
|
||
::: mkdocs-typer | ||
:module: diffannotator.gather_data | ||
:command: app | ||
:prog_name: diff-gather-stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters