-
Notifications
You must be signed in to change notification settings - Fork 17
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
A %revisions magic to show revisions from a repository #74
Comments
This would be a great feature to have -- very appealing. I think it would be even better to do this:
then under the hood, the output would look like:
That is a easy way to mimic what workflowr does, and is more compact (consolidating source and HTML) and flexible (we can support via this type of template not just github links). |
We should be able to figure out source automatically through the |
Sure, but that requires password for private repo unless some ssh token is set. Also it does not expand the rest of the URL which might have different convention in different hosting services I suspect. I think it is good enough to use some solution that requires explicit specification like that in order for hyper-links to show up. One only has to do this once per notebook and will never have to worry about keeping different versions of the notebook because it is so easy to track it back. That should make implementation easier? |
Oh and |
Implemented and documented here. Let me know if you have any comment. |
Oh it looks fantastic! Perhaps only one thing for now: can we add a toggle one way or another? A notebook maybe revised many times. Without a toggling I'd put this table at the end of a notebook where I have |
Sorry, I just noticed |
Yes, there are a lot of options for |
@gaow What is the link for workflowr with revisions of figures? I recently found nbdime which can achieve similar effect and I would like to propose the workflowr diff format for it. |
@BoPeng Are you asking about an example? Here is one: https://stephenslab.github.io/gtexresults/Uk3.html Please let me know if it is what you need! |
I am looking for an example with some thing that expands previous version of figure. |
Yes that link should demonstrate it. |
Thanks. I submitted a ticket and asked how difficult it is to do so with notebook/nbdime. |
Something like what the following (a screenshot from workflowr). It can be difficult to do this from a web environment because the frontend in theory does not touch host file system. The kernel can somehow call
git log
and parse its output though.The text was updated successfully, but these errors were encountered: