2286 Commits

Author SHA1 Message Date
Josh Barnes f9f45e04af Merge pull request #1058 from juhasch/fix/cf_preprocessor
Fix codefolding preprocessor configuration
2017-08-23 16:32:36 +01:00
Josh Barnes 4c4e4c6cd1 Merge pull request #1032 from jcb91/tttoc
[toc2] use amd structure to avoid polluting the global namespace
2017-08-23 16:31:46 +01:00
Josh Barnes 5c26d9276c [collapsible_headings] bugfix for exporter
which was still using the old template name
2017-08-23 13:58:45 +01:00
Josh Barnes 36214f2e6f [lint] don't allow linting failure on Travis 2017-08-23 13:48:12 +01:00
Josh Barnes e86b53d8f9 [lint] fix import sorting errors 2017-08-23 13:47:24 +01:00
Josh Barnes 5a8bea9c1e [lint] quiet warnings aboutextra newlines in imports 2017-08-23 13:46:48 +01:00
Josh Barnes 5ebddd1cba [lint] fix overlong line 2017-08-23 13:46:21 +01:00
Josh Barnes 3b74c4522b Merge pull request #1053 from brenns10/master
Add sound, sticky options to notify plugin
2017-08-23 13:10:38 +01:00
Stephen Brennan 42c28ac828 Update notify documentation. 2017-08-22 22:43:09 -07:00
Stephen Brennan cde7bd6afc Implement notification sounds using HTMLAudioElement 2017-08-22 22:40:03 -07:00
Josh Barnes 3a497b07a7 Merge pull request #1055 from jfbercher/update_yaml
Update yaml files for 5.x compatible nbextensions
2017-08-23 04:43:31 +01:00
Josh Barnes 2eb8186985 [toc2] simplify config loading 2017-08-23 04:29:10 +01:00
Josh Barnes a631fa31de [toc2] add extra check for cfg.cell_toc
to cater for malformed exported notebooks
2017-08-23 02:10:36 +01:00
Josh Barnes 7e2baf745a [toc2] add backwards-compatibility for html exported with old versions of toc2
this is accomplished by defining a window.table_of_contents function
synchronously in the first pass of the file, so that it can be called by
subsequent scripts in a page.
2017-08-23 02:10:36 +01:00
Josh Barnes fe69131b63 [toc2] move addSaveAsWithToc definition into main.js
since it's only used there anyway
2017-08-23 02:10:36 +01:00
Josh Barnes 37e1099fb9 [toc2] use amd structure to avoid polluting the global namespace
We use a synchronous method for detecting the live notebook,
otherwise we run into various timing issues
2017-08-23 02:09:59 +01:00
Stephen Brennan 3a10efaa3c Renaming and url fixes within notify extension. 2017-08-22 15:13:48 -07:00
Stephen Brennan 13f88a0f66 Add support for sound in notify plugin. 2017-08-22 12:08:37 -07:00
Stephen Brennan 4b37d26662 Use IPython config object rather than loading our own. 2017-08-22 11:49:37 -07:00
Jürgen Hasch fe90a66487 Remove redundant check 2017-08-22 18:27:20 +02:00
Jürgen Hasch 80ed43d165 Skip preprocessor if not enabled 2017-08-22 11:07:26 +02:00
Jürgen Hasch 5a949150d2 Update test with new config option 2017-08-22 10:34:25 +02:00
Jürgen Hasch 7a667e4382 Fix codefolding preprocessor configuration 2017-08-22 09:46:38 +02:00
Juergen Hasch c200197472 Merge pull request #1050 from jcb91/codefolding
[codefolding] fix restoration of nested folds
2017-08-22 09:44:39 +02:00
Colton R Bukowsky 449058c7ab Added a preprocessor for embedding html into cells. 2017-08-21 17:52:13 -07:00
Colton R Bukowsky b5322b75c3 Fixed some typos and PEP8 lint flags 2017-08-21 17:51:30 -07:00
Gabriel Nuetzi d2a19d0708 typo2 2017-08-21 23:30:44 +02:00
Jean-François Bercher 2df0d643d9 Update yaml files for skill and splitcell 2017-08-21 14:54:38 +02:00
Jean-François Bercher 3a9aa65df4 Update yaml files for 5.x compatible nbextensions (2) 2017-08-20 23:30:46 +02:00
Jean-François Bercher 654c45d67f Update yaml files for 5.x compatible nbextensions 2017-08-20 22:22:44 +02:00
Gabriel Nuetzi b2b7e3da13 typo 2017-08-20 20:24:07 +02:00
Gabriel Nuetzi 647ac414fa typo 2017-08-20 20:22:52 +02:00
Gabriel Nuetzi b5477be9a2 typo 2017-08-20 20:22:08 +02:00
Gabriel Nuetzi 8def5be172 working smoothly now 2017-08-20 19:57:55 +02:00
Gabriel Nuetzi 63049e74b8 working smoothly now 2017-08-20 19:53:31 +02:00
Gabriel Nuetzi f9257b74f1 manicure 2017-08-20 17:14:06 +02:00
Gabriel Nuetzi 578ff3d528 better codefolding in preprocessor, handling empty lines 2017-08-20 17:09:20 +02:00
Stephen Brennan 1f4d660e1f Add sticky notification option to notify plugin. 2017-08-19 10:39:05 -07:00
Gabriel Nuetzi 01acbe0300 some manicure 2017-08-19 17:44:24 +02:00
Gabriel Nuetzi d58917a798 Changed regex parsing in embedhtml.py to XML parsing with lxml, regex can catch all sorts of stupid things 2017-08-19 17:39:25 +02:00
Jean-François Bercher 5646a5b754 Merge pull request #1031 from jcb91/ttoc
[toc2] make toc entries collapsible
2017-08-19 17:29:53 +02:00
Jean-François Bercher 973643e5d9 Merge branch 'master' into ttoc 2017-08-19 17:25:16 +02:00
Jean-François Bercher 3801417236 Merge pull request #1035 from jcb91/tch
[toc2] alter ToC cell source to work better with collapsible_headings
2017-08-19 17:18:08 +02:00
Juergen Hasch a525f3a0f3 Merge pull request #1044 from juhasch/fix/html_embed
Fix html_embed exporter
2017-08-19 11:57:02 +02:00
Jean-François Bercher de7293de88 [toc2] Updated to take into account @jcb91 review 2017-08-16 22:10:13 +02:00
Josh Barnes ed4bda02f9 [codefolding] fix restoration of nested folds
by processing them in reverse order
2017-08-16 19:47:47 +01:00
Jean-François Bercher 8b79b91c85 [toc2] Updated (again) to enable full highlight of toc items 2017-08-16 18:16:33 +02:00
Jean-François Bercher 84bf6f9937 [toc2] Updated template to include font-awesome (firefox issue) 2017-08-16 18:14:57 +02:00
Jean-François Bercher cb63154378 [toc2] Updated README with last contributions 2017-08-16 14:58:09 +02:00
Jean-François Bercher 1bd906bf8a [toc2] Change .click() to scollIntoView for follwing links to target ids (issue with Firefox) 2017-08-16 14:57:30 +02:00