-
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
Feature request: strip Sphinx syntax from sphinx.deprecated warning message #41
Feature request: strip Sphinx syntax from sphinx.deprecated warning message #41
Comments
Hello Stefaan, If we use some bleach of any kind to clean up the Sphinx warning message, I'm afraid we get side effects… A ”normal user” of your library should be a developper too, isn't it? So, he can understand weird syntax. I must consider your request more carefully. In the meanwhile, do you have any suggestion on how to change that, with a PR? Regards. |
…rom reason in warning message
…rom reason in warning message
I would only strip I already started a PR here: #42 |
…: correct the regex used to get rid of the Sphinx cross-referencing syntax (issue #41).
🐍 Deprecated v1.2.12 released 🚀! |
Say you use the sphinx decorator with Sphinx syntax references like this:
the DeprecationWarning will say:
For a normal user of my library this
:py:func:
looks weird.The user typically does not know/care that I use Sphinx as documentation build tool, let alone that they understand this syntax.
Feature request:
Strip this kind of Sphinx syntax from the
DeprecationWarning
messageThe text was updated successfully, but these errors were encountered: