-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
Previously discussed in #5800 (reply in thread).
Seemingly is a regression of #6437.
Bug description
When the root project of a projects plugin sets a site_url
to root, e.g. http://example.com/
versus http://example.com/docs
, and when the child projects setting something else, e.g. http://example.com/MyApp
, then the href
attribute of the generated link
tags for the CSS/JS of the sub-project are incorrect. This causes them to 404 and not properly
Related links
Reproduction
Steps to reproduce
python3 -m venv venv
. venv/bin/activate
pip install --upgrade --force-reinstall mkdocs-material
- Run
mkdocs serve
- Try to navigate to the
/MyApp
page
Browser
Chrome
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open