This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
/tree/<path> should redirect to /notebooks/<path> if <path> is a notebook file #153
Labels
enhancement
New feature or request
Problem
When redirecting users to a particular file (from nbgitpuller), it is important to not need prior knowledge on wether the target is a file or a directory. In lab and classic notebook, we can send people to
/tree/<path>
, it redirects to/notebooks/<path>
if it's a notebook or/tree/<path>
if it's just a directory, based on what ContentsManager says.retrolab doesn't do that - if you go to
/tree/<path>
but<path>
is a notebook you get an error.Proposed Solution
retrolab/retrolab/app.py
Line 99 in 0f7c026
The text was updated successfully, but these errors were encountered: