MCPcopy
hub / github.com/pandas-dev/pandas / html

Method html

doc/make.py:230–248  ·  view source on GitHub ↗

Build HTML documentation.

(self)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 6

_sphinx_buildMethod · 0.95
_open_browserMethod · 0.95
_add_redirectsMethod · 0.95
existsMethod · 0.80
joinMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected