HappyCoding
HappyCoding

Reputation: 5139

how to display ipynb notebook file in bitbucket?

Bit-bucket displays my notebook in a raw Json text form. I'd like it to be able to render a jupyter notebook for my collaborators

Anyone know how this can be done?

Upvotes: 28

Views: 26425

Answers (3)

Leon Chen
Leon Chen

Reputation: 175

As of 2021/Feb I believe it's now under setting -> marketplace, look for the app call notebook viewer enter image description here

after installed and access granted, you can switch view mode for the ipython code enter image description here

Upvotes: 15

Bryan
Bryan

Reputation: 357

As of 11/2018, this has moved. Click on your Avatar then Bitbucket Settings then Marketplace. You can search for or scroll down to the Notebook Viewer by Atlassian add-on and install it.

If you then go back to the .ipynb file, you will see a drop-down menu at the top that says "Default File Viewer". "Ipython Notebook" will appear as an option after you install the Notebook Viewer add-on and refresh. You can then toggle between the raw JSON and the Notebook views.

Upvotes: 26

HappyCoding
HappyCoding

Reputation: 5139

I found a solution from Bitbucket dev post:

  • To install the addon, click your avatar in the lower left corner and select "Integrations".
  • You should now see "Bitbucket Notebook Viewer" listed in the addon listings.
  • Once you have installed the addon you will get the option to render as a notebook on any file with the extension ".ipynb".

For team project repo, it should be installed under team account.

Upvotes: 25

Related Questions