mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
fb16dfecae
Commit b7f05445c0
has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
18 lines
573 B
Plaintext
18 lines
573 B
Plaintext
LaserHammer is a simple DocBook to mdoc(7) ("UNIX man page syntax")
|
|
converter.
|
|
|
|
The command line utility resides in the scripts/ subdirectory; use
|
|
it like this:
|
|
|
|
$ laserhammer book.parsed.xml book.7
|
|
|
|
The 7 above stands for section 7 of man pages, "miscellaneous
|
|
documentation". The 'book.parsed.xml' is a processed XML source
|
|
of the FreeBSD Handbook; you can use it as test sample. The
|
|
'book.7' is the example translated into mdoc.
|
|
|
|
There's also a rudimentary Python module. Use it like this:
|
|
|
|
import laserhammer
|
|
mdoc = laserhammer.laserhammer(file_path) print(mdoc)
|