Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trailing slash to version selector URL's #46

Closed
wbekerom opened this issue Mar 16, 2021 · 2 comments
Closed

Add trailing slash to version selector URL's #46

wbekerom opened this issue Mar 16, 2021 · 2 comments

Comments

@wbekerom
Copy link

URL's in version selector need a trailing slash in order to be in line with other links in generated docs. This ensures that the relative paths to js / css always work. For me the URL's did not work when deploying to Azure blob storage, hosted as "static website".

This probably needs to be fixed in templates/redirect.html and version-select.js in both themes.
I can send you a PR for this if you like.

Similar to: squidfunk/mkdocs-material#2434

@jimporter
Copy link
Owner

Fixed in 79827d4 and 05eb98c

@wbekerom
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants