##// END OF EJS Templates
Merge pull request #3323 from takluyver/strip-prompts...
Merge pull request #3323 from takluyver/strip-prompts Strip prompts even if the prompt isn't present on the first line. Users (including me) often copy and paste examples from just after the first prompt. This checks for prompts in the first two lines of a block, but if they aren't found there, it will ignore prompt-like prefixes in later lines, to minimise interference with multi-line strings etc. This fixes both incoming copies (transformed before running code) and outgoing (copied from the Qt console). Closes #3206
Min RK -
r10679:689d7bfc merge
Show More
Name Size Modified Last Commit Author
/ IPython / frontend / html / notebook
auth
base
notebook
services
static
templates
tests
tree
README.md Loading ...
__init__.py Loading ...
fabfile.py Loading ...
notebookapp.py Loading ...
utils.py Loading ...

IPython Notebook development

Development dependencies

Developers of the IPython Notebook will need to install the following tools:

  • fabric
  • node.js
  • less (npm install -g less)
  • bower (npm install -g bower)

Components

We are moving to a model where our JavaScript dependencies are managed using
bower. These packages are installed in static/components
and commited into our git repo. Our dependencies are described in the file
static/bower.json. To update our bower packages, run fab components in this
directory.

Because CodeMirror does not use proper semantic versioning for its GitHub tags,
we maintain our own fork of CodeMirror that is used with bower. This fork should
track the upstream CodeMirror exactly; the only difference is that we are adding
semantic versioned tags to our repo.

less

If you edit our .less files you will need to run the less compiler to build
our minified css files. This can be done by running fab css from this directory.