-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
BugDocumentationTheme-generalIssues involving the theme related code within MkDocsIssues involving the theme related code within MkDocs
Description
Good:
Bad:
- https://www.mkdocs.org/foo/
- https://www.mkdocs.org/user-guide/foo
- https://www.mkdocs.org/user-guide/foo/
The problem are the paths because it points to the wrong target. Examples:
<link href="css/bootstrap-custom.min.css" rel="stylesheet">
<script src="js/bootstrap-3.0.3.min.js" defer></script>
…
<a href="user-guide/writing-your-docs/">…</a>The template filter URL does not help here.
<link href="{{ 'css/bootstrap.min.css'|url }}" rel="stylesheet">https://github.com/mkdocs/mkdocs/blob/master/mkdocs/themes/mkdocs/base.html#L20
Any ideas to prevent the problem on the mkdocs.org and also in the used theme? Thank you in advance!
alexeyabel and polarathene
Metadata
Metadata
Assignees
Labels
BugDocumentationTheme-generalIssues involving the theme related code within MkDocsIssues involving the theme related code within MkDocs

