markup icon indicating copy to clipboard operation
markup copied to clipboard

rendering README.ipynb in a project entrypoint page

Open parmentelat opened this issue 8 years ago • 4 comments

Hi folks

I just created a project whose README is not in markdown, but a notebook instead https://github.com/parmentelat/asynciojobs/blob/master/README.ipynb

The thing is that when I point at the project’s entry point here https://github.com/parmentelat/asynciojobs then the notebook is not rendered, but instead displayed as a raw json file, which kind of ruins the whole notion of a friendly entry point ;)

Is it a fair assumption that this is a bug ? Or is there just something I should have done to get this to behave as expected (i.e. that the project entry URL renders the notebook)

Would be a great addition IMHO :-)

PS. I have initially sent this request to the github support, who redirected me here

EDIT august 2019: the project that I pointed out as an illustration is no longer valid, as I changed the repo layout to get this to work as expected, but the gist of my initial comment is stil valid

parmentelat avatar Sep 19 '16 08:09 parmentelat

Supported, this struck me, too. We use README.md as a format for documentation, but would much, much prefer to use notebooks as they are much richer and easier to create for non-programmers, too!

pletnes avatar Jan 18 '19 10:01 pletnes

hmm interesting

Kreijstal avatar Feb 20 '19 23:02 Kreijstal

There is a (non-)working example in https://github.com/isaacs/github/issues/1425 .

To me it seems really seems more like a bug, than a missing feature...

riedel avatar Aug 20 '19 17:08 riedel

This issue can be avoided by keeping the README in markdown and using the jupytext extension. Jupytext allows you to edit markdown and python in jupyter as if they were notebooks.

https://github.com/mwouts/jupytext/issues/527

asher-pembroke avatar May 06 '21 05:05 asher-pembroke