-
Notifications
You must be signed in to change notification settings - Fork 11
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
Breaking change in 0.2.7 - Double .html filename extension showing up #46
Comments
Ping @chrisjsewell as you are very familiar with myst-parser and the author of #45 which seems related |
Ha yeh well I'll leterally made the PR to fix a project where I am also using myst-parser, but its actually not to do with that. It is because you have listed your redirect files with
which as of #45 will no longer be replaced, only suffixes related with a source document (like
or
I notice in one of your redirects also you use |
if we didn't want to recover this behaviour, then you could add some extra code to: sphinxext-rediraffe/sphinxext/rediraffe.py Line 124 in 09516f0
to also strip |
1. Regarding redirecting to urls with fragments and queries:rediraffe passes fragments and queries from the original url to the new url.
, then should the fragment 2. Regarding the core issue, doubling html extensionsThis extension was intended to have the source suffix specified in the redirects config. |
If point 1 is something you'd like implemented, please do open an issue. |
Thanks for this very helpful discussion, I've made my build succeed by updating
Hmmmm I deliberated a bit about this without so good project knowledge. But I was thinking that if you have a Then I also got thinking, if one would have I'll go ahead and close this issue, thank you for the assistance to migrate my projects configuration and for an excellent sphinx extension! |
Open source :) It wasn't me who set this up originally so I don't know. |
Thanks everyone involved for making this lovely extension - it is great ❤️
#45 seem to have broken the documentation setup in this project using myst-parser along with sphinxext-rediraffe. I'm not sure if it is to be considered a bug in this project or somewhere else how we are using it end to end but I figured it could be good to quickly report the experience here.
I can go back and forth between the documentation build failure by installing 0.2.7 and 0.2.6 without changing anything else. I'm using the command
make html
to reproduce the error, which is in practicesphinx build
in some way.The text was updated successfully, but these errors were encountered: