Permalink
Switch branches/tags
Nothing to show
Commits on Nov 12, 2012
  1. check debian package static data path for css files

    juliantaylor committed Nov 12, 2012
    the debian package puts its data into usr/share so check that path if
    the default one does not exist
  2. Merge pull request #46 from dkua/b1

    Carreau committed Nov 12, 2012
    Removed   from html.py
    
    So the In and Out prompts in a static HTML conversion are the same length/aligned.
    
    Normal notebook does not have nbsp either.
  3. Removed   from html.py

    dkua committed Nov 12, 2012
Commits on Nov 4, 2012
  1. Merge pull request #42 from Carreau/refactor

    Carreau committed Nov 4, 2012
    Reorganize nbconvert.py into multiple file.
    
    Rewrite some test.
Commits on Nov 3, 2012
Commits on Oct 31, 2012
  1. fix test for pandoc 1.9.3

    Carreau committed Oct 31, 2012
  2. require IPython dev for css

    Carreau committed Oct 31, 2012
Commits on Oct 30, 2012
  1. Systematic test of ipynb -> * conversion

    Carreau committed Oct 30, 2012
    (except blogger, but whicj is only a subclass of html)
  2. nbsp in html prompt

    Carreau committed Oct 30, 2012
Commits on Oct 29, 2012
  1. cleaner file deletion

    Carreau committed Oct 29, 2012
    on notebook deletion, check if folder to delete exist to avoid exception
    in some cases (nose tests)
Commits on Oct 28, 2012
  1. remove pylintrc

    Carreau committed Oct 28, 2012
  2. add travis.yml

    Carreau committed Oct 28, 2012
  3. add numpy intro origin file

    Carreau committed Oct 28, 2012
  4. add missing imports

    Carreau committed Oct 28, 2012
  5. add pylint rc file

    Carreau committed Oct 28, 2012
  6. pylinting 2

    Carreau committed Oct 28, 2012
  7. pylinting 1

    Carreau committed Oct 28, 2012
  8. more test fixed

    Carreau committed Oct 28, 2012
  9. fix some tests

    Carreau committed Oct 28, 2012
  10. update reference to v3

    Carreau committed Oct 28, 2012
  11. all seem to convert again

    Carreau committed Oct 28, 2012
  12. latex working

    Carreau committed Oct 28, 2012
  13. Merge pull request #41 from ivanov/use-realpath

    Carreau committed Oct 28, 2012
    robust css/preamble path finding despite symlinks
  14. Merge pull request #40 from ivanov/auto-docinherit

    Carreau committed Oct 28, 2012
    make automatic __doc__ inheritance
  15. Merge pull request #39 from Carreau/htmloutput

    Carreau committed Oct 28, 2012
    add missing html classes to output div
  16. Merge pull request #35 from jakevdp/sphinx-extension

    Carreau committed Oct 28, 2012
    WIP: Sphinx Notebook Extension
Commits on Oct 27, 2012
  1. robust css/preamble path finding despite symlinks

    ivanov committed Oct 27, 2012
    I have a `~/bin/nbconvert` symlink to ~/code/nbconvert/nbconvert.py so
    that I can call it from anywhere in the filesystem. Stylesheets were
    found previously using `__file__`, which can change depending on where
    one puts symlinks.
    
    Additionally, I found one other place where such a situation was
    anticipated, but the solution was using a bit too much code. The
    simplest way to get around this situation is to used `os.path.realpath`,
    which is what I've done here.
    
    Here's a traceback of the error, in case someone stumbles into this.
    $ nbconvert -f html test_display.ipynb
    Traceback (most recent call last):
      File "/home/pi/bin/nbconvert", line 1490, in <module>
        main(infile=args.infile[0], format=args.format)
      File "/home/pi/bin/nbconvert", line 1459, in main
        htmlfname = converter.render()
      File "/home/pi/bin/nbconvert", line 311, in render
        self.output = self.convert()
      File "/home/pi/bin/nbconvert", line 293, in convert
        lines.extend(self.optional_header())
      File "/home/pi/bin/nbconvert", line 808, in optional_header
        return ['<html>', '<head>'] + self.header_body() + \
      File "/home/pi/bin/nbconvert", line 790, in header_body
        header.extend(self._stylesheet(sheet))
      File "/home/pi/bin/nbconvert", line 756, in _stylesheet
        with io.open(fname, encoding='utf-8') as f:
    IOError: [Errno 2] No such file or directory: '/home/pi/bin/css/static_html.css'
  2. make automatic __doc__ inheritance

    ivanov committed Oct 27, 2012
    our previous implementation was not actually working prior to this.
    
    Now, for the converters which inherit from Converter, we don't
    have to keep adding the @DocInherit decorators.
    
    Also, removed a function that was no longer being used in the code.
    
    Before this commit:
    -------------------
    In [1]: import nbconvert; nbconvert.ConverterBloggerHTML.render_code?
    Type:       instancemethod
    String Form:<unbound method ConverterBloggerHTML.render_code>
    File:       /home/pi/code/nbconvert/nbconvert.py
    Definition: nbconvert.ConverterBloggerHTML.render_code(self, cell)
    Docstring:  <no docstring>
    -------------------
    
    After this commit:
    ------------------
    In [1]: import nbconvert; nbconvert.ConverterBloggerHTML.render_code?
    Type:       instancemethod
    String Form:<unbound method ConverterBloggerHTML.render_code>
    File:       /home/pi/code/nbconvert/nbconvert.py
    Definition: nbconvert.ConverterBloggerHTML.render_code(self, cell)
    Docstring:
    Convert a code cell
    
    Returns list.
    -------------------
  3. fixed typo

    ivanov committed Oct 27, 2012
Commits on Oct 25, 2012
Commits on Sep 25, 2012