-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4461 from vgteam/docmd
Add man page
- Loading branch information
Showing
11 changed files
with
227 additions
and
430 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 |
---|---|---|
|
@@ -20,3 +20,4 @@ brew "autoconf" | |
brew "cmake" | ||
brew "boost" | ||
brew "pybind11" | ||
brew "pandoc" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Automated markdown manpage | ||
|
||
Make a markdown document with the usage messages of (selected) `vg` subcommands. | ||
Calls the `vg` command, so it will match the version available in the command line. | ||
|
||
```sh | ||
python3 vgmanmd.py > wiki/vg-manpage.md | ||
``` | ||
|
||
Then commit and push the changes to the wiki submodule, or copy the markdown content to the [wiki page](https://github.com/vgteam/vg/wiki/vg-manpage). | ||
|
||
## Edit descriptions | ||
|
||
See [`vgmanmd.desc.md`](vgmanmd.desc.md) file. | ||
This file must be in the current directory. | ||
Also, in the title `# <NAME>`, `<NAME>` should match name of the command. | ||
The name `intro` is used for the introduction, to be placed after the table of content. | ||
The names don't need to match a command, and not all commands have to be described: if available, a subcommand description will be added before its usage message. | ||
|
||
The goal of the description is to be vague enough that we don't need to change them often, but informative enough that new users can get a good feel of the commands, plus pointers to other resources (e.g. Wiki pages). | ||
|
||
## Change list of selected subcommands | ||
|
||
At the top of [`vgmanmd.py`](vgmanmd.py), change the *cmds* list. | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
ebf2512
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vg CI tests complete for merge to master. View the full report here.
16 tests passed, 0 tests failed and 0 tests skipped in 17125 seconds