diff --git a/README.md b/README.md index ab1b705..5ff8f28 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,11 @@ We only use `material-mkdocs` as base styles because Backstage also uses the `Ma ### Unreleased +### 1.3 + - Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes: + - MkDocs dependency is now `1.5` + - `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins + ### 1.2.3 - Bumped `pygments` to `2.16.1`, which also fixes a [vulnerability](https://github.com/advisories/GHSA-mrwq-x4v8-fh7p). - Update dependency `plantuml-markdown` to `3.9.2`. diff --git a/requirements.txt b/requirements.txt index 241a415..467a647 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # The following are something akin to peer dependencies. They are represented # as ranges in order to support interoperability with other mkdocs plugins or # packages that might otherwise exist in an adopter's environment. -mkdocs>=1.2.2 +mkdocs>=1.5 Markdown>=3.2,<3.4 # The following are more akin to direct dependencies. Each line represents one @@ -9,13 +9,13 @@ Markdown>=3.2,<3.4 # pinned to an exact version. Bumps should be accompanied by release notes # explaining what was added or fixed (or at least pointing to the underlying # release notes of the bumped package). -mkdocs-material==9.1.3 +mkdocs-material==9.2.7 mkdocs-monorepo-plugin==1.0.5 plantuml-markdown==3.9.2 markdown_inline_graphviz_extension==1.1.1 mdx_truly_sane_lists==1.3 pygments==2.16.1 -pymdown-extensions==10.0.1 +pymdown-extensions==10.2 # The following are temporary dependencies that are only necessary to work # around incompatible/conflicting underlying dependencies. Each dependency diff --git a/setup.py b/setup.py index ae22e96..ed927f5 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( name="mkdocs-techdocs-core", - version="1.2.3", + version="1.3", description="The core MkDocs plugin used by Backstage's TechDocs as a wrapper around " "multiple MkDocs plugins and Python Markdown extensions", long_description=long_description, diff --git a/src/core.py b/src/core.py index 478a764..b7ee372 100644 --- a/src/core.py +++ b/src/core.py @@ -70,7 +70,7 @@ def on_config(self, config): config["theme"]["features"].append("navigation.footer") config["theme"]["features"].append("content.action.edit") - config["theme"]["palette"] = "" + config["theme"]["palette"] = {} config["theme"].static_templates.update({"techdocs_metadata.json"}) config["theme"].dirs.append(self.tmp_dir_techdocs_theme.name)