-
Notifications
You must be signed in to change notification settings - Fork 36
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
Sphinx directives require version argument #40
Closed
auscompgeek opened this issue
Jan 26, 2021
· 2 comments
· Fixed by GeoNode/geonode#7083, greenbone/ospd#369, mozilla/addons-server#16731, QEDK/goodbot#133 or mozilla/application-services#3928
Closed
Sphinx directives require version argument #40
auscompgeek opened this issue
Jan 26, 2021
· 2 comments
· Fixed by GeoNode/geonode#7083, greenbone/ospd#369, mozilla/addons-server#16731, QEDK/goodbot#133 or mozilla/application-services#3928
Comments
The Sphinx build shows a warning similar to:
The user (who is a developer) can easily fix this problem in its own code. |
Problem is though if you specify a reason without a version, there's no warning; the first word is silently considered to be the version. |
This was referenced Mar 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Sphinx
versionadded
,versionchanged
, anddeprecated
directives have a non-optionalversion
argument. However, Deprecated will happily generate a Sphinx directive that is missing the version argument:https://github.com/tantale/deprecated/blob/a02525b4f6e112743e1142fc9735dd4d46a4c66e/deprecated/sphinx.py#L100
The text was updated successfully, but these errors were encountered: