This will fix #67. Note that the warning only shows up on branches which are named with semantic versioning (eg. 0.1.0, not dev-add-widget) but I think that will be fine for the production docs as dev branches shouldn't show up in the flyout menu, and are likely to be ahead of latest rather than behind.
Readthedocs automatic 'not latest version' warning is only injected in a
div
withrole="main"
.This will fix #67. Note that the warning only shows up on branches which are named with semantic versioning (eg.
0.1.0
, notdev-add-widget
) but I think that will be fine for the production docs as dev branches shouldn't show up in the flyout menu, and are likely to be ahead of latest rather than behind.