From 6831eacfe0a9492b228d54d8b8e70d0b02026a7a Mon Sep 17 00:00:00 2001 From: Nick Shu Date: Tue, 2 Sep 2025 17:57:41 -0400 Subject: [PATCH 1/3] Found errors --- src/mkdocs_graph_plugin/plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mkdocs_graph_plugin/plugin.py b/src/mkdocs_graph_plugin/plugin.py index 3004291..0e2f982 100644 --- a/src/mkdocs_graph_plugin/plugin.py +++ b/src/mkdocs_graph_plugin/plugin.py @@ -64,7 +64,13 @@ def _write_graph_file(self, config): def on_post_page(self, output: str, *, page, config) -> str: """Inject the graph options script into the HTML page.""" + import pdb + # pdb.set_trace() site_url = config.get("site_url", "/") + + # TODO: Write catch if site_url is None + # TODO: Write trigger if using mkdocs serve + options_script = ( "