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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Pin to lowest versions
if: matrix.versions == 'minimal'
run: |
sed -i -E 's/#min //; s/\b >=([0-9])/ ==\1/' pyproject.toml
sed -i -E -e '/properdocs >=/d' -e 's/#min //; s/\b >=([0-9])/ ==\1/' pyproject.toml
- name: Install Hatch
run: |
pip install hatch
Expand Down
9 changes: 9 additions & 0 deletions mkdocs_redirects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
from mkdocs.plugins import BasePlugin
from mkdocs.structure.files import File

try:
import properdocs.replacement_warning

# Warn when this plugin is being used from the mkdocs executable.
properdocs.replacement_warning.setup()
except ImportError:
pass


log = logging.getLogger("mkdocs.plugin.redirects")


Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ classifiers = [
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"mkdocs >=1.2",
"mkdocs >=1.2, <=1.6.1",
"properdocs >=1.6.5",
#min "jinja2 >=2.10.2",
#min "markupsafe >=2.0.1",
]
Expand Down