Skip to content

Commit

Permalink
docs: add links from edsnlp_factories entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Dec 23, 2023
1 parent c98e864 commit eb08237
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/scripts/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ def on_post_page(

autorefs: AutorefsPlugin = config["plugins"]["autorefs"]
spacy_factories_entry_points = {
ep.name: ep.value for ep in entry_points()["spacy_factories"]
ep.name: ep.value
for ep in (
*entry_points()["spacy_factories"],
*entry_points()["edsnlp_factories"],
)
}

def replace_component(match):
Expand Down

0 comments on commit eb08237

Please sign in to comment.