Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 28, 2024
1 parent d98d7fb commit 21aacb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jupyter_book/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ def get_final_config(
color="orange",
print_func=print,
)
sphinx_config['html'].setdefault("analytics", {})['google_analytics_id'] = google_analytics_id

sphinx_config["html"].setdefault("analytics", {})[
"google_analytics_id"
] = google_analytics_id

# finally merge in CLI configuration
_recursive_update(sphinx_config, cli_config or {})
Expand Down

0 comments on commit 21aacb4

Please sign in to comment.