Auto-generate man pages for all StGit commands
authorKarl Hasselström <kha@treskal.com>
Sun, 21 Sep 2008 12:17:39 +0000 (14:17 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 21 Sep 2008 12:17:51 +0000 (14:17 +0200)
commit575bbdaeb6b8fae0eef19672d288361282b83fb4
treeb624c3a6535f83848e78024f3c2a3c6c8608c8ad
parent1c2426dc0bff311e5cba2ba12a1b6492553135b9
Auto-generate man pages for all StGit commands

Auto-generate man pages based on the docs that are in each
stgit/commands/<cmd>.py file. That doc format is extended in order to
support both brief command help output and manpage text.

The existing interactive help is made briefer (just the usage, the
one-line explanation, and the option listing).

The text in the man pages needs some love, both content-wise and
asciidoc-markup-wise. This is left for future patches to resolve. (It
should be rather simple to improve the man pages one by one now that
the infrastructure is in place.)

Signed-off-by: Karl Hasselström <kha@treskal.com>
50 files changed:
Documentation/.gitignore
Documentation/COMMAND-TEMPLATE.txt [deleted file]
Documentation/Makefile
Documentation/asciidoc.conf
Documentation/stg-branch.txt [deleted file]
Documentation/stg-clone.txt [deleted file]
Documentation/stg-init.txt [deleted file]
Documentation/stg-new.txt [deleted file]
Documentation/stg-sink.txt [deleted file]
stg-build [new file with mode: 0755]
stgit/argparse.py
stgit/commands/branch.py
stgit/commands/clean.py
stgit/commands/clone.py
stgit/commands/coalesce.py
stgit/commands/commit.py
stgit/commands/delete.py
stgit/commands/diff.py
stgit/commands/edit.py
stgit/commands/export.py
stgit/commands/files.py
stgit/commands/float.py
stgit/commands/fold.py
stgit/commands/goto.py
stgit/commands/hide.py
stgit/commands/id.py
stgit/commands/imprt.py
stgit/commands/init.py
stgit/commands/log.py
stgit/commands/mail.py
stgit/commands/new.py
stgit/commands/patches.py
stgit/commands/pick.py
stgit/commands/pop.py
stgit/commands/pull.py
stgit/commands/push.py
stgit/commands/rebase.py
stgit/commands/refresh.py
stgit/commands/rename.py
stgit/commands/repair.py
stgit/commands/resolved.py
stgit/commands/series.py
stgit/commands/show.py
stgit/commands/sink.py
stgit/commands/status.py
stgit/commands/sync.py
stgit/commands/top.py
stgit/commands/uncommit.py
stgit/commands/unhide.py
stgit/main.py