mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-08-16 11:22:14 +08:00
cleanup
This commit is contained in:
@@ -1,53 +1,19 @@
|
||||
ipython-static-profiles
|
||||
=======================
|
||||
ipython-notebook-extensions
|
||||
===========================
|
||||
|
||||
Some experiment with statics files.
|
||||
|
||||
Description of this branch
|
||||
==========================
|
||||
|
||||
Quick draft (again) of live slideshow for notebook for Fernando.
|
||||
|
||||
Install
|
||||
=======
|
||||
|
||||
Clone this repo into ~/.ipython_/profile_xxx/static/
|
||||
|
||||
Restart your notebook server.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
|
||||
## setup the presentation
|
||||
|
||||
* Use new Cell Toolbar menu to select "slideshow" Preset.
|
||||
|
||||
* Make each cell you want to be the start of a new slide a "slide" cell.
|
||||
|
||||
* Hide the Cell Toolbar.
|
||||
|
||||
Fragment/Subslide/note... are not implemented in live mode yet.
|
||||
|
||||
## Start the presentation
|
||||
|
||||
Click on the small presentation icon in the Main Toolbar.
|
||||
|
||||
Use 'play' to make the next slide appear 'fast-forward' and 'backward' are surely buggy.
|
||||
|
||||
Use the 'slide control' button on the top right to enable slide navigation through keyboard.
|
||||
|
||||
## Caveats
|
||||
|
||||
'stop' button does not 'stop', it put the presentation on Hold.
|
||||
Be sure to reload the page or to go to the end of the presentation or next press on 'start presentation' will resume where you were
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
add the following to your notebook_config
|
||||
|
||||
c.NotebookApp.extra_static_paths = [
|
||||
'[path to this folder]/[extension_folder]'
|
||||
'[path to this folder]/css_selector'
|
||||
'[path to this folder]/[extension_folder]',
|
||||
'[path to this folder]/css_selector',
|
||||
'[path to this folder]/slidemode'
|
||||
]
|
||||
|
||||
link to the corresponding files in your `custom.js`, example
|
||||
|
||||
$.getScript('/static/js/css_selector.js')
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
$.getScript('/static/js/slide_meta.js')
|
||||
$.getScript('/static/js/gist_it.js')
|
||||
$.getScript('/static/js/clean_start.js')
|
||||
$.getScript('/static/js/celltoolbarpresets/example.js')
|
||||
$.getScript('/static/js/toggle_all_line_number.js')
|
||||
$.getScript('/static/js/css_selector.js')
|
||||
|
||||
/*
|
||||
$([IPython.events]).on('notebook_loaded.Notebook', function(){
|
||||
IPython.toolbar.add_buttons_group([
|
||||
{
|
||||
'label' : 'run qtconsole',
|
||||
'icon' : 'ui-icon-calculator',
|
||||
'callback': function(){IPython.notebook.kernel.execute('%qtconsole')}
|
||||
}
|
||||
]);
|
||||
});
|
||||
*/
|
||||
|
||||
mobile_preset = []
|
||||
var edit = function(div, cell) {
|
||||
var button_container = $(div);
|
||||
var button = $('<div/>').button({icons:{primary:'ui-icon-pencil'}});
|
||||
button.click(function(){
|
||||
cell.edit()
|
||||
})
|
||||
button_container.append(button);
|
||||
}
|
||||
|
||||
IPython.CellToolbar.register_callback('mobile.edit',edit);
|
||||
mobile_preset.push('mobile.edit');
|
||||
|
||||
IPython.CellToolbar.register_preset('Mobile',mobile_preset);
|
||||
@@ -0,0 +1,53 @@
|
||||
ipython-static-profiles
|
||||
=======================
|
||||
|
||||
Some experiment with statics files.
|
||||
|
||||
Description of this branch
|
||||
==========================
|
||||
|
||||
Quick draft (again) of live slideshow for notebook for Fernando.
|
||||
|
||||
Install
|
||||
=======
|
||||
|
||||
Clone this repo into ~/.ipython_/profile_xxx/static/
|
||||
|
||||
Restart your notebook server.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
|
||||
## setup the presentation
|
||||
|
||||
* Use new Cell Toolbar menu to select "slideshow" Preset.
|
||||
|
||||
* Make each cell you want to be the start of a new slide a "slide" cell.
|
||||
|
||||
* Hide the Cell Toolbar.
|
||||
|
||||
Fragment/Subslide/note... are not implemented in live mode yet.
|
||||
|
||||
## Start the presentation
|
||||
|
||||
Click on the small presentation icon in the Main Toolbar.
|
||||
|
||||
Use 'play' to make the next slide appear 'fast-forward' and 'backward' are surely buggy.
|
||||
|
||||
Use the 'slide control' button on the top right to enable slide navigation through keyboard.
|
||||
|
||||
## Caveats
|
||||
|
||||
'stop' button does not 'stop', it put the presentation on Hold.
|
||||
Be sure to reload the page or to go to the end of the presentation or next press on 'start presentation' will resume where you were
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
add the following to your notebook_config
|
||||
|
||||
c.NotebookApp.extra_static_paths = [
|
||||
'[path to this folder]/[extension_folder]'
|
||||
'[path to this folder]/css_selector'
|
||||
]
|
||||
Reference in New Issue
Block a user