-
Notifications
You must be signed in to change notification settings - Fork 5
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
Version chooser missing after upgrading to 0.34.0 #517
Comments
@msbt shared that the version chooser will only be rendered conditionally.
That's sweet, but why doesn't it work any longer like before? |
@amotl I just compared and before we were using
Not sure why it became |
That was a long time ago already? I can remember we introduced It has 13 hits across the org, so it can't be that wrong, at least it hasn't been in the past. See https://github.com/search?q=org%3Acrate%20display_version&type=code. |
Yeah, I think we did it because of this, at least that was the beginning of the story. If we should revert that, I don't know. What do you recommend? Maybe honor both flags? Wouldn't make too much sense, hm? |
@amotl at least when rendering localhost it didn't change anything, same dropdown menus visible. |
Maybe the announcement of this |
crate-docs-theme/src/crate/theme/rtd/conf/__init__.py Lines 67 to 81 in 134f2a8
Defined, they are over there: Maybe it will be enough to also define |
I still think using the proprietary Otherwise, I think we may want to find out why it stopped working? NB: I am always 👍 for removing proprietary details in general. However, we don't want to introduce any significant regressions, that's why I am asking so much about this detail ;], and that's why I didn't merge and release your suggestion right away. |
@amotl ah yes, good call, but I guess we forgot/missed to add that |
That would be silly, but it's possible. Thanks! |
@amotl So should we first try to update the reference repo to see if the version chooser appears then before changing the theme? |
Yeah, I think this would be good. Thanks! |
@amotl setting Those repos don't have one as of now, so we should check if it's required there or not:
|
Problem
After upgrading to the modernized theme, version choosers are missing at relevant spots.
Thoughts
That's weird, @msbt's most recent preview still displays it.
On the theme itself, the version chooser also is present, see https://crate-docs-theme.readthedocs.io/.
The text was updated successfully, but these errors were encountered: