DescriptionAdd a python script to generate the man page.
To generate a man page locally, first build and install juju (as the python
script calls juju to get the information), then run
./scripts/generate-docs.py man
This will create a local juju.1 file. You can use man to look at this by:
man ./juju.1
To make the gzipped one installed in the right place:
./scripts/generate-docs.py man -o - | gzip | sudo tee /usr/share/man/man1/juju.1.gz > /dev/null
There is probably an easier way, but I couldn't figure it out, and gave up looking.
https://code.launchpad.net/~thumper/juju-core/man-page/+merge/156728
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Add a python script to generate the man page. #Patch Set 3 : Add a python script to generate the man page. #
MessagesTotal messages: 5
|