M Pacer
600d57f9ce
Fix nbconvert handler ( #2981 )
...
* get the directory for external resources to pass in as path to nbconvert
* build up resources dict elements separately, combine before passing to from_notebook_node
* Use filename (not title) for the name used as the title in html export
9 years ago
Min RK
9b4660fc43
Merge pull request #2753 from gabyx/master
...
added path to the resources metadata, the same as in from_filename(...) in nbconvert.exporters.py
9 years ago
Thomas Kluyver
447d79ffc0
Pass API path to get_os_path
9 years ago
Thomas Kluyver
2056b1ba6f
Give OS path to nbconvert if possible
9 years ago
Min RK
d6a534ec5b
use RFC5987 encoding for filenames
...
as described in RFC 6266 describing Content-Disposition
9 years ago
Grant Nestor
64ed6e439c
Don't url escape filenames on download
9 years ago
Gabriel Nuetzi
f5e9e2ed41
added path to the resources metadata, the same as in from_filename(...)
...
in nbconvert/exporter.py
9 years ago
Gabriel Nuetzi
507509cdfb
Bug Fix: use the nbconvert.exporters.base instead of deprecated exporter_map
9 years ago
Min RK
236198571b
test dirs are paths, not TempDir objects
9 years ago
Min RK
8e141df890
run Python tests with a token
...
exercises token auth
9 years ago
Scott Sanderson
34ef078b00
TEST: Use addCleanup in test_nbconvert_handlers.py
...
This guarantees that resources are cleaned up correctly even if setUp
fails.
10 years ago
Min RK
6805cabf76
log exceptions in nbconvert handlers
...
when nbconvert fails, log the traceback
10 years ago
wenjun.swj
6684b76ab8
encode file name in Content-Disposition when it contains non-ascii characters
10 years ago
Matthias Bussonnier
0ad67c8b7f
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
10 years ago
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
11 years ago
Min RK
5714cabb26
fix files redirect in nbconvert handlers
...
the way it was set up prevented the redirect handler from ever being called
11 years ago
Min RK
d71a59cc9f
s/jupyter_notebook/notebook
11 years ago