Don't skip removing library boostlook for antora docs (#1735)

This commit is contained in:
Greg Kaleka
2025-04-10 11:00:37 -04:00
committed by GitHub
parent a3606163a4
commit acd2dff49a

View File

@@ -478,7 +478,6 @@ class DocLibsTemplateView(BaseStaticContentTemplateView):
)
context["hide_footer"] = True
context["skip_use_boostlook"] = "/antora/" in self.kwargs.get("content_path")
if source_content_type == SourceDocType.ASCIIDOC:
extracted_content = content.decode(chardet.detect(content)["encoding"])
soup = BeautifulSoup(extracted_content, "html.parser")
@@ -503,7 +502,6 @@ class DocLibsTemplateView(BaseStaticContentTemplateView):
insert_body=insert_body,
head_selector=head_selector,
original_docs_type=source_content_type,
skip_replace_boostlook=context["skip_use_boostlook"],
show_footer=False,
show_navbar=False,
)