Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mkdocs_drawio/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def on_config(self, config: base.Config):
self.js.append("js/drawio-darkmode.js")

for path in self.css:
config.extra_css.append(str(Path("/") / path))
config.extra_css.append(str(path))
for path in self.js:
config.extra_javascript.append(str(Path("/") / path))
config.extra_javascript.append(str(path))

def on_post_build(self, config: base.Config):
"""Copy embedded files to the site directory"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mkdocs-drawio"
version = "1.11.0"
version = "1.11.1"
description = "MkDocs plugin for embedding Drawio files"
authors = [
"Jan Larwig <[email protected]>",
Expand Down