Merge lp:~thumper/juju-core/man-page into lp:~juju/juju-core/trunk
Proposed by
Tim Penhey
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | William Reade | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1104 | ||||
Proposed branch: | lp:~thumper/juju-core/man-page | ||||
Merge into: | lp:~juju/juju-core/trunk | ||||
Diff against target: |
233 lines (+224/-0) 2 files modified
scripts/generate-docs.py (+64/-0) scripts/jujuman.py (+160/-0) |
||||
To merge this branch: | bzr merge lp:~thumper/juju-core/man-page | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+156728@code.launchpad.net |
Description of the change
Add 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/
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/
There is probably an easier way, but I couldn't figure it out, and gave up looking.
To post a comment you must log in.
Reviewers: mp+156728_ code.launchpad. net,
Message:
Please take a look.
Description:
Add a python script to generate the man page.
To generate a man page locally, first build and install juju (as the generate- docs.py man
python
script calls juju to get the information), then run
./scripts/
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: generate- docs.py man -o - | gzip | sudo tee man/man1/ juju.1. gz > /dev/null
./scripts/
/usr/share/
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)
Please review this at https:/ /codereview. appspot. com/8300043/
Affected files: generate- docs.py current_ test.go
A [revision details]
A scripts/
A scripts/jujuman.py
M version/
M version/version.go