mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 13:32:08 +00:00
* Add documentation extension to Jupyter Lab * Fix lint * fix pyupgrade * Change label from Documentation to Gamestonk Documentation * Improve code after review
14 lines
315 B
Python
14 lines
315 B
Python
import json
|
|
import os.path as osp
|
|
|
|
from ._version import __version__ # noqa: F401
|
|
|
|
HERE = osp.abspath(osp.dirname(__file__))
|
|
|
|
with open(osp.join(HERE, "labextension", "package.json")) as fid:
|
|
data = json.load(fid)
|
|
|
|
|
|
def _jupyter_labextension_paths():
|
|
return [{"src": "labextension", "dest": data["name"]}]
|