Skip to content
Snippets Groups Projects
Commit 16bfd254 authored by AakashGC's avatar AakashGC
Browse files

changes suggested by choldgraf

parent ecb18028
No related branches found
No related tags found
No related merge requests found
...@@ -242,8 +242,6 @@ def build( ...@@ -242,8 +242,6 @@ def build(
# Builder-specific overrides # Builder-specific overrides
if builder == "pdfhtml": if builder == "pdfhtml":
config_overrides["html_theme_options"] = {"single_page": True} config_overrides["html_theme_options"] = {"single_page": True}
if builder == "pdflatex":
config_overrides["suppress_warnings"] = ["myst.domains"]
# --individualpages option passthrough # --individualpages option passthrough
config_overrides["latex_individualpages"] = individualpages config_overrides["latex_individualpages"] = individualpages
......
...@@ -159,10 +159,7 @@ def get_final_config( ...@@ -159,10 +159,7 @@ def get_final_config(
"latex_individualpages": cli_config.pop("latex_individualpages"), "latex_individualpages": cli_config.pop("latex_individualpages"),
} }
if ( if sphinx_config.get("use_jupyterbook_latex"):
"use_jupyterbook_latex" in sphinx_config
and sphinx_config["use_jupyterbook_latex"]
):
sphinx_config["extensions"].append("jupyterbook_latex") sphinx_config["extensions"].append("jupyterbook_latex")
# finally merge in CLI configuration # finally merge in CLI configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment