Commit Graph

7688 Commits

Author SHA1 Message Date
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
Thomas Kluyver
a425ed30ef Env variables for server root & URL in terminals
This came up on reddit: if you want to open a notebook or a file in the
text editor from the terminal inside the notebook web interface, you can
construct a URL to open. But to do that accurately, you need to know the
root directory where the server is looking, and the first part of the
URL. This exposes both of those as environment variables:
$JUPYTER_SERVER_ROOT and $JUPYTER_SERVER_URL.
2015-07-21 13:34:09 -07:00
Jason Grout
cf69ab7428 Use instances of traits instead of trait classes 2015-07-20 20:22:35 +00:00
Thomas Kluyver
00bb47fb24 Error on disabling extension not currently enabled 2015-07-20 10:22:32 -07:00
Thomas Kluyver
095e77dfd7 Error on >1 extension for enable/disable commands 2015-07-20 10:22:15 -07:00
Matthias Bussonnier
cc1f01d21e Merge pull request #213 from takluyver/jupyter-nbconfig-subdir
Store frontend config in nbconfig/ subdirectory
2015-07-20 08:40:49 -07:00
Thomas Kluyver
3c42206759 Store frontend config in nbconfig/ subdirectory
Closes gh-211
2015-07-19 21:24:54 -07:00
Thomas Kluyver
c21debfc4a Use notebook config file for nbextension commands 2015-07-19 21:04:33 -07:00
Thomas Kluyver
ff9f36e7f0 Local imports of ConfigManager to avoid Py2 circular import issue 2015-07-19 11:58:49 -07:00
Thomas Kluyver
29fabd3c16 Add command-line interface to enable/disable nbextensions
i.e. to enable cite2c, you'd use
`jupyter nbextension enable cite2c/main`.

Open questions:

1. Should these commands accept multiple extension names in one call?
nbextension install currently doesn't, so there's a symmetry argument,
but it would be easy to handle more than one if necessary.

2. Especially for disable, should it give an error if you try to disable
something that's not enabled? Currently it will just pass silently.
Enable could also fail if it's already enabled, but that seems less
useful.
2015-07-19 11:43:22 -07:00
Matthias Bussonnier
1c3db62b95 Merge pull request #197 from minrk/no-uglify
Don't uglify js
2015-07-19 09:15:23 -07:00
Matthias Bussonnier
92e0731d5e Merge pull request #204 from minrk/dockerfile-no-req
ipykernel no longer has requirements.txt
2015-07-19 09:15:13 -07:00
Min RK
71c2387e34 Merge pull request #173 from jasongrout/swagger
Rough draft of documentation for the notebook REST API for kernels, kernel specs, and sessions
2015-07-15 15:07:03 -07:00