Skip to content

Commit a1ff80a

Browse files
committed
docs: set max width for man page paragraphs to 65ch
The man pages aren't displayed using the css for the rest of the site. The man pages lines are too long to read comfortably. Limit line length.
1 parent 6a9e9be commit a1ff80a

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

doc/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ man_html: $(MAN_HTML)
1919

2020
html_extra/man_pages/%.1.html: ../share/man/man1/%.1
2121
man --html=cat $< > $@
22+
# set max width for paragraphs
23+
sed -i '/<style/,/<\/style/s/\(p\s* { \)margin/\1max-width: 65ch; margin/' $@
2224
#man2html $< > $@
2325

2426
clean:

doc/html_extra/man_pages/roundup-admin.1.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/html_extra/man_pages/roundup-demo.1.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/html_extra/man_pages/roundup-mailgw.1.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/html_extra/man_pages/roundup-server.1.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)