Skip to content

Commit a58dee8

Browse files
committed
For compatibility, add the navigation.footer to the list of enabled features, since it was disabled by default in mkdocs-material v9
1 parent 3541546 commit a58dee8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core.py

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ def on_config(self, config):
5959
TECHDOCS_DEFAULT_THEME,
6060
)
6161

62+
if "features" not in config["theme"]:
63+
config["theme"]["features"] = []
64+
65+
config["theme"]["features"].append("navigation.footer")
66+
6267
config["theme"].static_templates.update({"techdocs_metadata.json"})
6368
config["theme"].dirs.append(self.tmp_dir_techdocs_theme.name)
6469

0 commit comments

Comments
 (0)