-
Notifications
You must be signed in to change notification settings - Fork 335
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
Swup Error #2094
Comments
I think you can add a fake #main element, but let's fix this by implementing #2084. I will submit a pull request today. :) I will close this one on behalf of that! |
I just realized that we transitioned to use #1952, which is what generates pages without |
@garazdawi in theory those do not need #main, because they are not meant to go to the sidebar, but I realized that they may be linked to through markdown anyway, so we need to fix it. |
@garazdawi I have emulated your use case here and it seems to work now. Please confirm and I can release a new version! |
As I cannot reproduce the fault locally I deployed it here: https://garazdawi.github.io/otp/doc/readme.html The fault as reported is fixed, but I noticed something different when navigating that is also broken. If I click on "sasl" and then do "back" and then try to go to "sasl" again it fails, though not with any error. The page just doesn't go anywhere. This is also precent on https://erlang.org/doc/ though I did not notice it before. Your fixed changed this behaviour somewhat thoug, as now the URI reads "https://garazdawi.github.io/otp/doc/stdlib.html" instead of "https://garazdawi.github.io/otp/doc/readme.html" when I press "back". |
The swup progress bar also gets stuck and never completes. |
@garazdawi it should be good now! |
Btw, you should be able to reproduce this locally by doing |
Now it works! Thanks! |
New version is out! |
When navigating from https://erlang.org/docs/28 and clicking any of the application links (for example
stdlib
), sometimes swup crashes with the error below:As #2084 is not yet implemented, we are using html redirects to achieve the same thing which I assume is the reason why swup is not happy.
The text was updated successfully, but these errors were encountered: