Commit Graph

2505 Commits

Author SHA1 Message Date
MinRK
bce60e1be7 pass profile-dir instead of profile to Kernel
avoids relative path issues for local profiles
when the notebook server starts in a different directory
from the kernels.
2013-08-23 09:17:35 +02:00
Thomas Kluyver
ffbf79c20c Merge pull request #4069 from takluyver/drop-nosepatch
Drop monkeypatch for pre-1.0 nose
2013-08-21 18:36:16 -07:00
Brian E. Granger
779b4cc83b Adding docs about latex citations. 2013-08-21 14:19:17 -07:00
MinRK
971aea1eda trigger Kernel.status_started after websockets open
This leads to a more logical state for event watchers to expect.
2013-08-21 09:46:28 +02:00
Matthias Bussonnier
ad38a330f4 Merge pull request #4068 from Zsailer/jsfix
minor bug fix, define 'cell' in dialog.js.
2013-08-20 01:21:17 -07:00
Thomas Kluyver
7a07a1c88d Drop monkeypatch for pre-1.0 nose
Closes gh-484
2013-08-19 14:56:45 -07:00
Zachary Sailer
a16211ceff minor bug fix, define 'var' in dialog.js.
The 'cell' variable isn't defined and causes and error in the
console
2013-08-19 14:47:18 -07:00
Matthias Bussonnier
b6e5dc0f65 catch if cm_config of other key undefined 2013-08-19 16:49:58 +02:00
Matthias BUSSONNIER
a363216d89 do not include specific css in embedable one 2013-08-19 14:44:59 +02:00
Matthias BUSSONNIER
fc8f118610 store default codemirror mode in only 1 place 2013-08-19 14:11:48 +02:00
Matthias Bussonnier
a133236f56 Merge pull request #3969 from Carreau/usestrict
"use strict" in most (if not all) our javascript

plus fix one variable leaking in global namespace
2013-08-19 04:26:17 -07:00
Matthias Bussonnier
44e0d28345 Merge pull request #3863 from damianavila/speaker_notes
Added working speaker notes for slides.

To resume, I fetch the cdn containing the files we need to make speaker notes works. Then I pass this info using the resources dict to the write which output the files in the correct path...
I make some other additions to make this feature an option from the command line, ie:

if you want a simple slideshow:
ipython nbconvert your_slides.ipynb --to slides

if you want a simple served slideshow:
ipython nbconvert your_slides.ipynb --to slides --post serve

if you want to use a local copy of the reveal.js library:
ipython nbconvert your_slides.ipynb --to slides --post serve --local reveal.js

and if you want to use speaker notes:
ipython nbconvert your_slides.ipynb --to slides --post serve --notes True
or
ipython nbconvert your_slides.ipynb --to slides --post serve --notes True --local reveal.js 
but this last one is redundant because if you are using a local reveal.js library the speaker notes are functional by default.
2013-08-16 00:50:34 -07:00
Min RK
5b4b944a4d Merge pull request #4035 from mlhenderson/master
Fixed custom jinja2 templates being ignored when setting template_path
2013-08-15 17:10:38 -07:00
Matt Henderson
b7ed106d11 must...bring...back...comma 2013-08-15 16:49:42 -07:00
Matt Henderson
af03eb6d1b Modified initial template_path to pickup any overridden value by the user 2013-08-15 16:28:19 -07:00
Thomas Kluyver
993d9e6b44 Merge pull request #4002 from takluyver/drop-26-32
Drop Python 2.6 and 3.2
2013-08-15 15:47:01 -07:00
Matt Henderson
918d872f2c needed proper dict syntax 2013-08-14 18:17:44 -07:00
Matt Henderson
56b33145e7 Fixed custom jinja2 templates being ignored when setting template_path 2013-08-14 17:40:48 -07:00
Paul Ivanov
7a6c4f9703 Merge pull request #4022 from ivanov/doc-links
DOC: fix links to matplotlib, notebook docs
2013-08-14 15:41:56 -07:00
Paul Ivanov
2778e98945 DOC: fix links to matplotlib, notebook docs
I've added a link to pandas, made all matplotlib links point to
matplotlib.org, and fixed a link in the notebook help menu to point to
our new notebook.html, now that htmlnotebook.html is a redirect.

Whoever ends up merging this PR should backport it to 1.x.
2013-08-13 20:56:19 -07:00
damianavila
5a3414ff52 Fixed doc about using PR-related aliases. 2013-08-13 14:18:47 -03:00
Thomas Kluyver
09bb0830a8 Remove extra assert methods needed for Python 2.6 2013-08-12 17:52:55 -07:00
Matthias Bussonnier
f996a93455 Merge pull request #3937 from Carreau/redtab
make tab visible in codemirror
2013-08-12 00:02:41 -07:00
Matthias Bussonnier
d04be020c1 Merge pull request #3939 from minrk/checkpoints
minor checkpoint cleanup

remember list of checkpoints browser-side
don't clobber list when a new checkpoint is created
cleanup references in MenuBar restore list. There was a closure issue, where multiple menu items would actually all restore the same checkpoint.
2013-08-10 01:34:29 -07:00
Matthias Bussonnier
ddca43174d Merge pull request #3955 from Carreau/fix-3954
complete on % for magic in notebook
2013-08-10 01:30:19 -07:00
Matthias BUSSONNIER
1f4a7eae4e remove red background, cleanup less file 2013-08-10 01:14:46 +02:00
Bussonnier Matthias
0226efa02d make tab visible in codemirror and light red background
Shoudl fix #3935
2013-08-10 01:14:46 +02:00
Matthias BUSSONNIER
13ff842be5 "use strict" in most (if not all) our javascript
+ fix one variable leaking in global nameespace
2013-08-09 14:56:52 +02:00
Min RK
88384c963f Merge pull request #3958 from ivanov/doc-nomenclature
doc update for 1.0
2013-08-08 17:46:13 -07:00
Paul Ivanov
92ed491c12 major doc update for 1.0 release
- added links to example notebooks on nbviewer
- removde unnecessary file and parts of files
- put old htmlnotebook.html redirect (for Notebook Help urls in 0.13.x)
- moved working_remotely to public_server
- re-arrangement of notebook connection stuff
- more cross-referencing of documentation sections
- made links to magic command explanation in tutorial
- and many more changes...
2013-08-08 17:41:51 -07:00
David P. Sanders
8897c39731 notebook docs touchup
closes #3902

incorporating doc changes from David Sanders, minor revisions my own

-@ivanov
2013-08-08 17:41:51 -07:00
Min RK
174af17a53 Merge pull request #3965 from andreabedini/patch-1
Fix ansi color code for background yellow
2013-08-08 17:35:34 -07:00
Andrea Bedini
0fd65c4de3 Fix ansi color code for background yellow 2013-08-09 10:34:52 +10:00
Thomas Kluyver
ba32316416 Merge pull request #3962 from minrk/skipzmq
exclude IPython.lib.kernel in iptest
2013-08-08 14:25:02 -07:00
MinRK
af88c03774 exclude IPython.lib.kernel in iptest
when pyzmq is unavailable
2013-08-08 13:03:34 -07:00
Min RK
3125911166 Merge pull request #3938 from Carreau/fix-less-missing
Recompile css.
2013-08-08 09:44:42 -07:00
Matthias BUSSONNIER
57c5d901dc fix completion when shared start among completion item is null 2013-08-08 15:59:42 +02:00
Matthias BUSSONNIER
faa6d63176 complete on % for magic in notebook
fixes #3954
2013-08-08 11:19:13 +02:00
Bussonnier Matthias
9c02a3054b recompile css 2013-08-08 08:04:22 +02:00
MinRK
3f3709526c minor checkpoint cleanup
- remember list of checkpoints browser-side
- cleanup references in MenuBar restore list.
  There was a closure issue, where multiple menu items would actually all restore the same checkpoint.
2013-08-07 12:31:16 -07:00
Min RK
df4fd45663 Merge pull request #3929 from minrk/rename-cr
swallow enter event in rename dialog

avoids adding newline in cell after dialog is closed.

closes #3926
2013-08-07 10:11:08 -07:00
MinRK
c0ec02bdb4 swallow enter event in rename dialog
avoids adding newline in cell after dialog is closed.

closes #3926
2013-08-06 19:30:48 -07:00
Min RK
bf7704e622 Merge pull request #3918 from ivanov/fix-3916
added check_for_tornado

closes #3916
2013-08-06 10:28:23 -07:00
Paul Ivanov
b435738592 added check_for_tornado, closes #3916
This way, those relying on the output of `python setup.py install` get
clued in about the fact that it is required for the notebook
2013-08-05 22:19:33 -07:00
Min RK
db01a67d5f Merge pull request #3896 from ivanov/fix-3895
two column quickhelp dialog

fits on one page.

closes #3895
2013-08-05 15:06:04 -07:00
Paul Ivanov
2ac1ff0280 Merge pull request #3911 from minrk/cm-ipython
explicitly load python mode before IPython mode
2013-08-05 14:29:04 -07:00
MinRK
a186b25626 explicitly load python mode before IPython mode
ensures IPython mode gets defined at startup,
which can sometimes fail because the Python mode was loaded dynamically.

closes #3636
2013-08-05 13:51:23 -07:00
Paul Ivanov
481a6a3070 two column quickhelp dialog, closes #3895
now that quickhelp is a modal dialog, it makes sense to have it be wider
and have the shortcuts take up two columns, instead of one. This change
makes that possible. See the results here:

![new quickhelp css](http://i.imgur.com/nvRTFJm.png)
2013-08-04 08:36:21 -07:00
Paul Ivanov
581f75517a Merge pull request #3892 from andreabedini/patch-1
Fix documentation of Kernel.stop_channels
2013-08-03 21:14:33 -07:00
Andrea Bedini
47b873295a Fix documentation of Kernel.stop_channels 2013-08-04 13:07:50 +10:00