##// END OF EJS Templates
Silence tokenization errors in ultratb....
Silence tokenization errors in ultratb. Currently, the ultratb module attempts to tokenize the code it finds in tracebacks, and issues a scary-sounding warnings about potentially invalid tracebacks if it fails. However, this tokenization is known to fail in some cases, notably if the reported error line is the terminating line of a multiline, triple-quoted string literal. This change fixes the issue by switching this to a `logging.debug` message, which silences it by default without completely removing it for debugging purposes. Fixes #6864.
Craig Citro -
r23973:0fdcb43a
Show More
Name Size Modified Last Commit Author
/ docs
man
source
sphinxext
Makefile Loading ...
README.rst Loading ...
autogen_api.py Loading ...
autogen_config.py Loading ...
autogen_magics.py Loading ...
autogen_shortcuts.py Loading ...
make.cmd Loading ...
requirements.txt Loading ...

IPython Documentation

This directory contains the majority of the documentation for IPython.

Deploy docs

Documentation is automatically deployed on ReadTheDocs on every push or merged Pull requests.

Requirements

The following tools are needed to build the documentation:

  • sphinx

On Debian-based systems, you should be able to run:

sudo apt-get install python-sphinx

The documentation gets built using make, and comes in several flavors.

make html - build the API and narrative documentation web pages, this is the default make target, so running just make is equivalent to make html.

make html_noapi - same as above, but without running the auto-generated API docs. When you are working on the narrative documentation, the most time consuming portion of the build process is the processing and rending of the API documentation. This build target skips that.

make pdf will compile a pdf from the documentation.

You can run make help to see information on all possible make targets.