Skip to content

Rendering images with relative path on Jupyter Notebooks

What does this MR do?

Notebooks can have images on the Markdown that reference local files. They are not being rendered on GitLab because the relative paths are pointing to the blobs, not the raw path.

Screenshots or Screencasts (strongly suggested)

Before After
image image

How to setup and validate locally (strongly suggested)

  1. Clone the repository https://gitlab.com/gitlab-org/incubation-engineering/mlops/jupyter-notebook-sample-repo

  2. Open the files test_notebook.ipynb both on the base path as well as within hello_there folder.

  3. Bosh should have the images loaded

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #28601 (closed)

Edited by Eduardo Bonet

Merge request reports

Loading