Skip to content

Commit

Permalink
bump required mkdocs version to >=1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
landmaj committed Aug 20, 2024
1 parent 1f8bd51 commit c6324d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions d2/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,10 @@ def on_post_build(self, config: MkDocsConfig) -> None:
def on_files(self, files: Files, config):
content = importlib_files("d2.css").joinpath("mkdocs_d2_plugin.css").read_text()
file = File(
"mkdocs_d2_plugin.css",
"",
"assets/stylesheets/mkdocs_d2_plugin.css",
None,
config["site_dir"],
config["use_directory_urls"],
dest_uri="assets/stylesheets/mkdocs_d2_plugin.css",
)
file.content_string = content

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
license="MIT",
python_requires=">=3.9",
install_requires=[
"mkdocs>=1.5.0",
"mkdocs>=1.6.0",
"pymdown-extensions>=9.0",
"pydantic>=2.0",
"packaging",
Expand Down

0 comments on commit c6324d5

Please sign in to comment.