Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add man page #4461

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Add man page #4461

wants to merge 15 commits into from

Conversation

xchang1
Copy link
Contributor

@xchang1 xchang1 commented Nov 29, 2024

Changelog Entry

  • Add a man page

Description

@jmonlong and I made a man page for vg.
It can be automatically generated to stay up to date with changes to the CLI

@xchang1 xchang1 requested a review from adamnovak November 29, 2024 18:19
Copy link
Member

@adamnovak adamnovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks super useful!

Should we as part of this cut the previous attempt at "man pages" like https://github.com/vgteam/vg/blob/36c322a4e0e6ad2939aed4f01c97bf6788905da3/doc/asciidoc/man/vg-test.adoc where we had individual hand-maintained AsciiDoc format files that we never finished?

Is this meant to ever get you a "real" man page (i.e. something you can read with man in its weird troff format)? It might be good to have a step that calls something like:

Otherwise it's a little confusing to say that this is a "man page".

doc/README.md Outdated
Comment on lines 5 to 10

```sh
python3 vgmanmd.py > man.md
```

Then copy the markdown content to a wiki page, for example, or move the markdown page to somewhere in the vg repo?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a checkout of the wiki as a submodule, so this maybe should involve writing to wiki/vg-manpage.md and committing and pushing.

This could also become a Makefile target e.g. make manpage.

@adamnovak
Copy link
Member

Here's something on writing Markdown that Pandoc knows how to translate for man: https://gabmus.org/posts/man_pages_with_markdown_and_pandoc/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants