lol

nixos/make-options-doc: enable smartquotes and replacements

the rest of the nixos manual has them enabled, so we should enable them
here too for consistency.

this changes rendered output pervasively. changes also include quotes in
types (eg in `strings concatenated with "\n"`), but since those are not
code this is probably fine. if not we can probably add a myst role to
inhibit replacements.

pennae 9ff98776 de22a26b

+2
+2
nixos/lib/make-options-doc/optionsToDocbook.py
··· 199 199 { 200 200 'maxNesting': 100, # default is 20 201 201 'html': False, # not useful since we target many formats 202 + 'typographer': True, # required for smartquotes 202 203 }, 203 204 renderer_cls=Renderer 204 205 ) ··· 208 209 self._md.use(container_plugin, name="{.warning}") 209 210 self._md.use(deflist_plugin) 210 211 self._md.use(myst_role_plugin) 212 + self._md.enable(["smartquotes", "replacements"]) 211 213 212 214 self._manpage_urls = frozendict(manpage_urls) 213 215