Skip to content

Commit

Permalink
docs: try upgrading mkdocs-material again
Browse files Browse the repository at this point in the history
squidfunk/mkdocs-material#7160 is supposed to
be fixed now. I will double-check that the version switcher still
works after this commit. The functionality is a bit brittle, so it's
hard to test locally before merging this.

We do want to upgrade, since this will allow us to upgrade to MkDocs
1.6, which has a nice feature of disallowing links to broken document
section (beyond just checking for links to non-existent files).

I carefully avoided unnecessary upgrades in this commit, but we
should also run `poetry update` shortly, once we check this
works properly.
  • Loading branch information
ilyagr committed May 12, 2024
1 parent 256988d commit 7df5e8a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.
49 changes: 33 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ python = "^3.8"
[tool.poetry.group.dev.dependencies]
# These can be updated with `poetry add`.
mkdocs = "^1.5.2"
mkdocs-material = "=9.5.4" # Until https://github.com/squidfunk/mkdocs-material/issues/7160 is fixed
mkdocs-material = ">=9.5.22,<9.6"
# (Py)Markdown extensions
mdx-truly-sane-lists = "^1.3"
mdx-breakless-lists = "^1.0.1"
Expand Down

0 comments on commit 7df5e8a

Please sign in to comment.