Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links to previous versions of a notebook #5

Open
gaow opened this issue May 10, 2018 · 2 comments
Open

Add links to previous versions of a notebook #5

gaow opened this issue May 10, 2018 · 2 comments

Comments

@gaow
Copy link
Member

gaow commented May 10, 2018

The workflowr project recently added a new feature to show previous versions of a document. See here and below for example:

2018-05-10-09-15-26_scrot

I think this is a really relevant feature. I can imaging my life becomes a lot easier with it. I'll do it in the summer for jnbinder (should be a day's work or less).

@BoPeng
Copy link

BoPeng commented May 10, 2018

But this assume that the doc is saves to a git repository, right? This could potentially be done with a magic. I saw even something to show previous results, and that looks more difficult to me.

@gaow
Copy link
Member Author

gaow commented May 10, 2018

It would be great if some magic can take care of it. Yes this assumes a git repo, and possibly a github repo because the link to the older versions are github specific. In jnbinder I simply test if it is a git repo, and try to parse from the provided repo link in config file to provide proper support to github, bitbucket and gitlab.

I saw even something to show previous results, and that looks more difficult to me.

I think that feature is a bit of an over-engineering and a distraction. I'd keep each notebook focused on a specific topic, that usually has maybe less than 5 figures. Then showing all their versions is enough to me because one can just click over to that archived page and read it all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants