@afshin/custom404-extension

A JupyterLab extension that handles 404 errors. It is meant to replace the core @jupyterlab/application-extension:notfound extension.

Usage no npm install needed!

<script type="module">
  import afshinCustom404Extension from 'https://cdn.skypack.dev/@afshin/custom404-extension';
</script>

README

@afshin/custom404-extension

A JupyterLab extension that handles 404 errors. It is meant to replace the core @jupyterlab/application-extension:notfound extension.

@afshin/custom404-extension screenshot

Prerequisites

Installation

jupyter labextension install @afshin/custom404-extension
jupyter labextension disable @jupyterlab/application-extension:notfound

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
npm run build
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build