-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
DIsable the version component in RTD #9720
Comments
Hi! You can change the position of the flyout menu, or hide it using CSS, see https://docs.readthedocs.io/en/stable/flyout-menu.html. |
@stsewd could you please be more specific on how to hide it? The linked documentation doesn't mention this explicitly. I would happily leave the flyout menu on my site if it was working – currently, it is rendered but clicking on it has no effect (see https://sleepecg.readthedocs.io/en/stable/). |
I think it's because the flyout depends on jQuery and you are using Material for MkDocs theme that does not include it. You could manually include jQuery in your project to make it work properly. We are working on better integration with Material for MkDocs that will solve this problem in the near future. |
Thank you @humitos! I'm looking forward to a better integration with Material! Meanwhile, if I do not want to include jQuery, can the flyout be disabled or hidden without much hassle? |
Hi @humitos , do you have any estimated timeline on the integration with Material for MkDocs? Thank you. |
Hi @chester-leung! The integrations with Material for MkDocs is already in our roadmap, so hopefully it will be done in 2023 Q1. |
And what about disabling for now? |
Great! I'm happy that you found a solution to inject jQuery on Material for MkDocs. We are already working on a better integration with Material for MkDocs and we won't be assuming that jQuery is already loaded in the near future. I'm closing this issue, but feel free to open a new one if you find any other problem 👍🏼 |
Details
Expected Result
A description of what you wanted to happen
No version overlay in my project (component with class
rst-current-version
.Actual Result
Since some time ago the following version overlay appeared (e.g. here):
I would like to be able to disable it. Project docs are made with mkdocs-material.
The text was updated successfully, but these errors were encountered: