dev guide: remove misleading usage of 'entry_point' wording (#2563)

closes mkdocs/mkdocs#2558 thx to @hwittenborn
This commit is contained in:
Ultrabug
2021-09-08 08:48:47 +02:00
committed by GitHub
parent 519d2d32c3
commit ba7f63ac81

View File

@@ -441,7 +441,7 @@ class MyPlugin(BasePlugin):
### Entry Point
Plugins need to be packaged as Python libraries (distributed on PyPI separate
from MkDocs) and each must register as a Plugin via a setuptools entry_point.
from MkDocs) and each must register as a Plugin via a setuptools `entry_points`.
Add the following to your `setup.py` script:
```python
@@ -457,7 +457,7 @@ The `pluginname` would be the name used by users (in the config file) and
(`from path.to.some_plugin import SomePluginClass`) where `SomePluginClass` is a
subclass of [BasePlugin] which defines the plugin behavior. Naturally, multiple
Plugin classes could exist in the same module. Simply define each as a separate
entry_point.
entry point.
```python
entry_points={