Support Sphinx 7.2 in ``pep_sphinx_extensions`` (#3294)
This commit is contained in:
parent
333b29769c
commit
7d52bab3ce
|
@ -22,6 +22,7 @@ class FileBuilder(StandaloneHTMLBuilder):
|
||||||
self.docwriter = HTMLWriter(self)
|
self.docwriter = HTMLWriter(self)
|
||||||
_opt_parser = OptionParser([self.docwriter], defaults=self.env.settings, read_config_files=True)
|
_opt_parser = OptionParser([self.docwriter], defaults=self.env.settings, read_config_files=True)
|
||||||
self.docsettings = _opt_parser.get_default_values()
|
self.docsettings = _opt_parser.get_default_values()
|
||||||
|
self._orig_css_files = self._orig_js_files = []
|
||||||
|
|
||||||
def get_doc_context(self, docname: str, body: str, _metatags: str) -> dict:
|
def get_doc_context(self, docname: str, body: str, _metatags: str) -> dict:
|
||||||
"""Collect items for the template context of a page."""
|
"""Collect items for the template context of a page."""
|
||||||
|
|
Loading…
Reference in New Issue