-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Update documentation regarding entry points #1923
Conversation
Refer to the PyPA packaging guide Replace references to the deprecated `pkg_resources` docs
@@ -30,7 +30,8 @@ To get started writing a |Flake8| :term:`plugin` you first need: | |||
|
|||
Once you've gathered these things, you can get started. | |||
|
|||
All plugins for |Flake8| must be registered via `entry points`_. In this | |||
All plugins for |Flake8| must be registered via | |||
:external:doc:`entry points<specifications/entry-points>`. In this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please user the :external+<name>:doc:...
syntax for this, e.g, :external+setuptools:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will be better to be explicit about where we expect these docs to come from. If the links break, then it will be very confusing to debug which intersphinx mapping it is meant to come from and which one to look for to fix it
52d9f29
to
350f254
Compare
Also fix line-length issue in PR
Thank you @Viicos |
Thanks for wrapping up |
Fixes #1920.