Build HTML documentation.
(self)
| 228 | moved_page_fd.write(html) |
| 229 | |
| 230 | def html(self): |
| 231 | """ |
| 232 | Build HTML documentation. |
| 233 | """ |
| 234 | ret_code = self._sphinx_build("html") |
| 235 | zip_fname = os.path.join(BUILD_PATH, "html", "pandas.zip") |
| 236 | if os.path.exists(zip_fname): |
| 237 | os.remove(zip_fname) # noqa: TID251 |
| 238 | |
| 239 | if ret_code == 0: |
| 240 | if self.single_doc_html is not None: |
| 241 | if not self.no_browser: |
| 242 | self._open_browser(self.single_doc_html) |
| 243 | else: |
| 244 | self._add_redirects() |
| 245 | if self.whatsnew and not self.no_browser: |
| 246 | self._open_browser(os.path.join("whatsnew", "index.html")) |
| 247 | |
| 248 | return ret_code |
| 249 | |
| 250 | def latex(self, force=False): |
| 251 | """ |
nothing calls this directly
no test coverage detected