Commit Graph

7701 Commits

Author SHA1 Message Date
Min RK
496289e441 Merge pull request #240 from takluyver/download-ipynb-ajax
Use window.location trick for download as ipynb
2015-07-30 14:03:24 -07:00
Thomas Kluyver
cf4341ac0d Merge pull request #242 from minrk/hardcode-widgets-js
load widget extension in js
2015-07-28 11:38:13 -07:00
Min RK
0afe9d2b1a Merge pull request #241 from takluyver/nbconvert-config-dir
Put config_dir in resources in nbconvert handlers
2015-07-28 11:19:38 -07:00
Min RK
ff191ae630 load widget extension in js
previously was a plain require,
which doesn't actually register anything.
2015-07-28 11:03:52 -07:00
Min RK
a36dcf2f98 export utils.load_extension
single, simple, catchable extension load

unlike load_extensions, which is the API normally used, which does its own logging of failure to load.
2015-07-28 11:00:21 -07:00
Thomas Kluyver
7e4354fbd9 Put config_dir in resources in nbconvert handlers
CSSHTMLHeaderPreprocessor uses this to include the user's custom.css
in HTML output.

Closes gh-185
2015-07-28 10:45:12 -07:00
Thomas Kluyver
9c2fdb7c30 Use window.location trick for download as ipynb
To avoid problems with synchronous HTTP request from JS to save the
notebook before downloading it.

Closes gh-239
2015-07-28 10:22:40 -07:00
Min RK
26334946f9 Merge pull request #238 from takluyver/Carreau-icons
iconset for Jupyter notebook
2015-07-28 10:16:32 -07:00
Min RK
89124554f4 Merge pull request #237 from takluyver/forwport-8524
Fix abstract checkpoint methods to match interface used
2015-07-28 10:14:51 -07:00
Thomas Kluyver
e47a7e4fbe Merge pull request #236 from minrk/manifest
Add missing files to manifest
2015-07-27 16:17:16 -07:00
Thomas Kluyver
3bd961b492 Fix abstract checkpoint methods to match interface used
Forward port of ipython/ipython#8524

Closes gh-144
2015-07-27 16:16:54 -07:00
Min RK
42d4529703 Add missing files to manifest
parts of installation, javascript-related
2015-07-27 14:54:38 -07:00
Min RK
2218d7df95 Merge pull request #235 from takluyver/docs-mathjax
Fix up some issues with the Mathjax examples in the docs
2015-07-27 14:38:33 -07:00
Min RK
4eda5e57ad Merge pull request #234 from takluyver/docs-extending-subdir
Make 'extending' a directory in the docs
2015-07-27 14:37:57 -07:00
Thomas Kluyver
884ef1dc28 Fix up some issues with the Mathjax examples in the docs
Fix the display of code samples in the Mathjax example doc, and squash
some warnings when building the docs.

This still doesn't make most of the examples display, because pandoc
makes the \begin{} & \end{} block into a raw latex block, which isn't
rendered in the HTML output. Not sure what to do about that.
2015-07-27 14:03:43 -07:00
Thomas Kluyver
72fa817fab Make 'extending' a directory in the docs 2015-07-27 13:41:18 -07:00
Thomas Kluyver
6ef2d6a995 Merge pull request #209 from ssanderson/contents-docs
WIP: Docs on extending the server
2015-07-27 13:30:41 -07:00
Min RK
30c235def1 Merge pull request #216 from nitind/issue158_rendered_html_on_divs
markdown output should get .rendered_html class
2015-07-27 13:26:53 -07:00
Thomas Kluyver
2806cb2da8 Merge pull request #233 from minrk/install-no-js-css
require js/css targets to exist
2015-07-27 11:45:27 -07:00
Nitin Dahyabhai
4288dc1c6d Issue 158 - Rendered markdown div should get .rendered_html class 2015-07-27 11:07:32 -04:00
Min RK
a394579b84 require js/css targets to exist
don't ignore failure to rebuild if the targets are missing

this could happen for users running from git without npm
2015-07-26 12:27:24 -07:00
Scott Sanderson
e76548a96a MAINT: Simpler way of writing classes. 2015-07-25 19:10:26 -04:00
Scott Sanderson
0d70a84ef1 DOC: More notes on Contents API. 2015-07-25 19:10:26 -04:00
Scott Sanderson
7e720ab22b WIP: Moar docs. 2015-07-25 19:10:26 -04:00
Scott Sanderson
9e13c3b0cd DOC: Initial work on Contents API docs. 2015-07-25 19:10:26 -04:00
Min RK
22aad2fcb7 Merge pull request #231 from takluyver/dev-docs
Update development docs
2015-07-24 19:42:31 -07:00
Thomas Kluyver
86ab103195 Remove docs on live-rebuilding CSS
We moved away from gulp.
2015-07-24 18:02:17 -07:00
Thomas Kluyver
96032f7ec1 Document installing the JS machinery 2015-07-24 18:01:48 -07:00
Min RK
788c16d1d5 Merge pull request #229 from takluyver/i223
Catch error adding link to notebook list

closes #223
2015-07-23 15:18:41 -07:00
Thomas Kluyver
f2c5e6ba98 Catch error adding link to notebook list
Part of the fix for gh-223.

If a filename can't be decoded in the current encoding, Python escapes
the undecodable bytes as unpaired surrogates, which JS doesn't like
building a URL from.

This doesn't make the undecodable filename openable, but it stops it
from breaking the listing of other files.

The real fix is to set up the locale encoding correctly so that the
filenames can be decoded.
2015-07-23 14:48:38 -07:00
Min RK
c03a564655 Merge pull request #168 from takluyver/no-install-kernelspec
Don't install native kernelspec on startup
2015-07-23 13:01:14 -07:00
Thomas Kluyver
5ad3fd19f6 Don't install native kernelspec on startup
Part of the fix for jupyter/jupyter_client#35; other part coming up soon
2015-07-23 11:16:14 -07:00
Thomas Kluyver
406a57d70d Merge pull request #228 from minrk/nbconvert-files
fix files redirect in nbconvert handlers
2015-07-23 10:26:12 -07:00
Min RK
854aa1af8e Merge pull request #222 from flying-sheep/patch-1
Ask for confirmation if kernel is busy

closes ipython/ipython#8546
2015-07-23 10:21:00 -07:00
Min RK
ca2a539617 Merge pull request #210 from takluyver/nbextension-enable-cmd
Add command-line interface to enable/disable nbextensions
2015-07-23 10:19:13 -07:00
Min RK
5714cabb26 fix files redirect in nbconvert handlers
the way it was set up prevented the redirect handler from ever being called
2015-07-23 10:12:49 -07:00
Thomas Kluyver
f64dec096f Merge pull request #227 from minrk/rm-requirements
remove requirements.txt
2015-07-23 09:51:14 -07:00
Min RK
2b5ba10ce9 remove requirements.txt
and update README installation accordingly
2015-07-23 09:31:19 -07:00
Min RK
b0cae1f51b Merge pull request #214 from jasongrout/trait-instances
Use instances of traits instead of trait classes
2015-07-23 08:53:21 -07:00
Min RK
c0f3b0abed Merge pull request #120 from jdfreder/widgets
Hardcode widgets
2015-07-22 14:48:02 -07:00
Philipp A.
3029212849 fixed logic error and moved question 2015-07-22 21:46:18 +02:00
Philipp A.
e5ec203028 Ask for confirmation if kernel is busy
fixes #8546
2015-07-22 09:23:27 +02:00
Thomas Kluyver
454a581830 Merge pull request #221 from minrk/swallow-gulp
remove gulp
2015-07-21 17:15:42 -07:00
Min RK
c41df91b10 remove gulp
Follow-suit from ipywidgets and
build js/css with Python/js scripts instead:

e.g.

- `npm run build`
- `setup.py js css`
2015-07-21 16:34:44 -07:00
Jonathan Frederic
fddd29f63a Use app_log 2015-07-21 16:34:21 -07:00
Thomas Kluyver
ecdb1091d7 Merge pull request #220 from minrk/restart-kernel
Fix scope on restart buttons
2015-07-21 14:43:06 -07:00
Min RK
715e87afc2 Fix scope on restart buttons
Restart button was excluded since
it was inside another button.
2015-07-21 14:17:19 -07:00
Thomas Kluyver
0a93cc6c6a Merge pull request #219 from minrk/contents-docstring
remove 'name' arg from file_exists docstring
2015-07-21 14:14:38 -07:00
Min RK
db86515621 Merge pull request #218 from takluyver/term-server-dir-envvar
Env variables for server root & URL in terminals
2015-07-21 14:14:06 -07:00
Min RK
c42869c3b8 remove 'name' arg from file_exists docstring
Only path is used, not separate name, path.
2015-07-21 13:56:46 -07:00