Skip to content

kbaseincubator/cdm_jupyterlab_brand_extension

 
 

Repository files navigation

cdm_jupyterlab_brand_extension

Simple extension to apply custom brand logos JupyterLab.

Demo JupyterLab site via JupyterLite Demo RetroLab / notebook v.7 site via JupyterLite

To install the prebuilt extension from a wheel:

pip3 install --upgrade https://raw.githubusercontent.com/kbaseincubator/cdm_jupyterlab_brand_extension/blob/main/dist/cdm_jupyterlab_brand_extension-0.1.0-py3-none-any.whl

Custom logos applied to:

  • JupyterLab IDE
  • RetroLab homepage
  • RetroLab notebooks
  • favicons

About: Custom Branded Logos for JupyterLab and RetroLab (Jupyter notebook v.7)

Customizing the Extension

For detailed instructions, please refer to Custom Branded Logos for JupyterLab and RetroLab (Jupyter notebook v.7).

Customizing the Logos

To customize the logos, modify the ./style/base.css file to include your own JupyterLab logo image location. Place the new images in the ./style/images/ folder.

Customizing the Favicons

To customize the favicons, modify the link.href in the ./style/index.js file. The pre-built extension is currently using the KBase favicon.

Building and Pushing Newly Built Wheels to PyPi

# Build
pip install build

#Install the package
pip install .

# Node MUST BE INSTALLED
python -m build
# packages built into ./dist

# Push to PyPi
pip install twine
twine upload MY_PACKAGE.whl

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.6%
  • Python 1.1%
  • Other 0.3%