Render help content on a Windows platform.
| 307 | |
| 308 | |
| 309 | class WindowsHelpRenderer(WindowsPagingHelpRenderer): |
| 310 | """Render help content on a Windows platform.""" |
| 311 | |
| 312 | def _convert_doc_content(self, contents): |
| 313 | text_output = publish_string( |
| 314 | contents, |
| 315 | writer=TextWriter(), |
| 316 | settings_overrides=self._DEFAULT_DOCUTILS_SETTINGS_OVERRIDES, |
| 317 | ) |
| 318 | return text_output |
| 319 | |
| 320 | |
| 321 | class WindowsBrowserHelpRenderer(BrowserHelpRenderer): |