From dfb0e87025a0c8451af64232dff25fae7cf7b773 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Tue, 6 Feb 2024 10:21:25 +0000 Subject: [PATCH] docs: load component js as module type in mkdocs --- mkdocs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 1ca52c5..75f8d14 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,7 +27,9 @@ theme: # custom_dir: docs/overrides extra_javascript: - - https://s3.amazonaws.com/hotosm-ui/latest/ui.js + # - https://s3.amazonaws.com/hotosm-ui/latest/ui.js + - path: https://cdn.jsdelivr.net/gh/hotosm/ui@latest/dist/ui.js + type: module extra_css: - css/extra.css