Closed Seluj78 closed 1 month ago
In your example, would you rather flask_utils.errors.BadRequestError
become flask_utils.BadRequestError
or just BadRequestError
?
If it's the latter this is a rather easy fix, and I can submit a pr right away.
If it's the former it is also very doable.
Yeah I want to have the link to just be BadRequestError
using :meth:
or :func:
but I wasn't able to do it and I am not knowledgable enough in Sphinx
Ok so just to make sure you want to change this
To this
That's totally correct !
Alright I think that's a single line of code lol But I'll open the pr anyway
Refactor documentation to avoid full links in docs (have
BadRequestError
instead offlask_utils.errors.BadRequestError
).For example https://flask-utils.readthedocs.io/en/latest/api.html#custom-exceptions