nixos-render-docs: remove the ... escape in manpages
this is a holdover from docbook stylesheets. not really sure why they did that.
This commit is contained in:
@@ -37,7 +37,6 @@ _roff_escapes = {
|
|||||||
ord('^'): "\\(ha",
|
ord('^'): "\\(ha",
|
||||||
ord('`'): "\\(ga",
|
ord('`'): "\\(ga",
|
||||||
ord('~'): "\\(ti",
|
ord('~'): "\\(ti",
|
||||||
ord('…'): "...", # TODO docbook compat, remove later
|
|
||||||
}
|
}
|
||||||
def man_escape(s: str) -> str:
|
def man_escape(s: str) -> str:
|
||||||
s = s.translate(_roff_escapes)
|
s = s.translate(_roff_escapes)
|
||||||
|
|||||||
Reference in New Issue
Block a user