Closed dviererbe closed 11 months ago
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
<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
Maybe I just had a misconfiguration. I renamed the branches and it seems to work now:
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 themain
tag is needed to inject the warning banner, for example:This is not present in the html output.
See the documentation for more details https://docs.readthedocs.io/en/stable/versions.html#version-warning