##// END OF EJS Templates
Adds configuration options to use Google Drive content manager...
Adds configuration options to use Google Drive content manager Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager. A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"

File last commit:

r12661:a408ca51
r18639:28c27a69
Show More
Makefile
24 lines | 680 B | text/x-makefile | MakefileLexer
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 TPLS := $(patsubst %.tpl,../latex/skeleton/%.tplx,$(wildcard *.tpl))
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 all: clean $(TPLS)
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 # Convert standard Jinja2 syntax to LaTeX safe Jinja2
# see http://flask.pocoo.org/snippets/55/ for more info
MinRK
fix skeleton template makefile
r12455 ../latex/skeleton/%.tplx: %.tpl
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 @echo 'generating tex equivalent of $^: $@'
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 @echo '((= Auto-generated template file, DO NOT edit directly!\n' \
' To edit this file, please refer to ../../skeleton/README.md' \
'=))\n\n' > $@
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 @sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
Matthias BUSSONNIER
lots of modification for latex
r9611 -e "s/tpl'/tplx'/g" \
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 $^ >> $@
clean:
@echo "cleaning generated tplx files..."
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 @-rm ../latex/skeleton/*.tplx