Skip to content

Commit

Permalink
For v2 extensions parse entrypoint data (#445)
Browse files Browse the repository at this point in the history
* For v2 extensions parse entrypoint data

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update jupyterlab_server/config.py

Co-authored-by: Frédéric Collonval <[email protected]>

---------

Co-authored-by: Ashok <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Frédéric Collonval <[email protected]>
  • Loading branch information
4 people authored Apr 8, 2024
1 parent 51ecf4f commit 8d036f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyterlab_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def get_page_config(
extension["mimeExtension"] = extbuild["mimeExtension"]
if "style" in extbuild:
extension["style"] = extbuild["style"]
# FIXME @experimental for plugin with no-code entrypoints.
extension["entrypoints"] = extbuild.get("entrypoints")
extensions.append(extension)

# If there is disabledExtensions metadata, consume it.
Expand Down

0 comments on commit 8d036f5

Please sign in to comment.