kfcampbell
04169cbf03
Fix tests.
2020-03-20 16:15:41 -07:00
Mislav Marohnić
99af7c7a88
Merge remote-tracking branch 'origin/master' into man-apostrophes
2019-11-14 22:42:00 +01:00
Christian Muehlhaeuser
f0c3ce9fb3
Simplify code
...
- Use bytes.Equal instead of bytes.Compare
- Use time.Since instead of manual timestamp subtracting
- Use sort.Strings instead of sort.StringSlice
- No need to specify the len of the slice
2019-07-23 09:28:32 +02:00
Mislav Marohnić
37b769d9c0
[help] Allow paragraphs in man pages to start with a single quote
2019-06-26 12:32:19 +02:00
Mislav Marohnić
61f6bfdd21
Compatibility with Go < 1.12
2019-04-13 23:17:20 +02:00
Mislav Marohnić
d2114da665
Preserve tilde in man pages
...
Fixes #2107
2019-04-12 18:50:21 +02:00
Mislav Marohnić
cb4fe7fb2c
[md2roff] Make man pages parseable with `whatis`
...
Outputs the "NAME" section in roff format to fix the following:
mandb: warning: ... whatis parse for hub-alias(1) failed
2019-02-18 13:01:05 +01:00
Mislav Marohnić
545badcade
Have level-2 headings appear in upper-case in man pages
2019-01-02 15:11:13 +01:00
Mislav Marohnić
fde295f49b
Fix version string appearing in man pages
2019-01-02 15:08:43 +01:00
Mislav Marohnić
a88df6f644
Add HTML template for man pages
2018-12-29 14:33:12 +01:00
Mislav Marohnić
c13e879d61
Render roff from Markdown
2018-12-29 10:09:04 +01:00