We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(Migrated from https://gitlab.com/documatt/sphinx-reredirects/-/issues/1. Issue created 3 years ago by ghost-83877-968325 @melaniewalsh.)
$source is returning everything in URI, not just the matched part.
In my config file, I have set my redirects as follows:
"features/*": "https://melaniewalsh.github.io/Intro-Cultural-Analytics/$source.html"
But then the HTML redirects are getting written as:
https://melaniewalsh.github.io/Intro-Cultural-Analytics/features/Command-Line/The-Command-Line.html
If I'm understanding things correctly, this should instead be (without /features):
/features
https://melaniewalsh.github.io/Intro-Cultural-Analytics/Command-Line/The-Command-Line.html
The text was updated successfully, but these errors were encountered:
I ran into this issue today.
I think this example in the docs is inaccurate:
Sorry, something went wrong.
The plugin uses fnmatch to check whether a given path matches the pattern containing the wildcard.
fnmatch
sphinx-reredirects/sphinx_reredirects/__init__.py
Line 2 in 78f1085
Lines 74 to 77 in 78f1085
Based on what I see in the fnmatch docs, I don't think fnmatch provides a way to get the portion of the path that matched the wildcard.
No branches or pull requests
(Migrated from https://gitlab.com/documatt/sphinx-reredirects/-/issues/1. Issue created 3 years ago by ghost-83877-968325 @melaniewalsh.)
$source is returning everything in URI, not just the matched part.
In my config file, I have set my redirects as follows:
But then the HTML redirects are getting written as:
If I'm understanding things correctly, this should instead be (without
/features
):The text was updated successfully, but these errors were encountered: