Context
Latest version of click dependency (released August 2, 2025) is breaking use_directory_urls: true functionality in MkDocs and MkDocs Material.
Bug description
This is causing 404's when clicking on links to previously published pages.
Example Good with click==8.2.1
https://docs-paasvkc6c-ultralytics.vercel.app/models/yolo11/
Example Bad with click==8.2.2
https://docs-paasvkc6c-ultralytics.vercel.app/models/yolo11/index.html
Related links
ultralytics/ultralytics#21568
Reproduction
Reproduce with steps above.
Steps to reproduce
Set use_directory_urls: true in mkdocs.yml with click==8.2.2 installed in environment, then run mkdocs serve.
Browser
Chrome
Before submitting
Context
Latest version of
clickdependency (released August 2, 2025) is breakinguse_directory_urls: truefunctionality in MkDocs and MkDocs Material.Bug description
This is causing 404's when clicking on links to previously published pages.
Example Good with click==8.2.1
https://docs-paasvkc6c-ultralytics.vercel.app/models/yolo11/
Example Bad with click==8.2.2
https://docs-paasvkc6c-ultralytics.vercel.app/models/yolo11/index.html
Related links
ultralytics/ultralytics#21568
Reproduction
Reproduce with steps above.
Steps to reproduce
Set
use_directory_urls: truein mkdocs.yml withclick==8.2.2installed in environment, then runmkdocs serve.Browser
Chrome
Before submitting