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

ReadTheDocs Version Warning Banner is not displayed. #141

Closed
dviererbe opened this issue Nov 12, 2023 · 1 comment
Closed

ReadTheDocs Version Warning Banner is not displayed. #141

dviererbe opened this issue Nov 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dviererbe
Copy link
Contributor

Read the docs has the ability to display a version warning banner if the user did not selected the latest version. This banner does not get displayed.

I think the reason for that is that an HTML element with the main role or the main tag is needed to inject the warning banner, for example:

<main>
  <!-- The banner would be injected here -->
  ...
</main>
<div role="main">
  <!-- The banner would be injected here -->
  ...
</div>

This is not present in the html output.

See the documentation for more details https://docs.readthedocs.io/en/stable/versions.html#version-warning

@ru-fu ru-fu added the bug Something isn't working label Nov 14, 2023
@dviererbe
Copy link
Contributor Author

Maybe I just had a misconfiguration. I renamed the branches and it seems to work now:
Screenshot from 2023-11-20 18-53-52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants