Posts about nikola

2014-02-15 Converting moinmoin pages to nikola

nikolFrom a previous post, we have this function to import a page from moinmoin, convert it and publish:

Read more…

Comments

2014-02-11 Converting MoinMoin pages to Nikola

I have another wiki to take notes. These are written using the MoinMoin syntax, which is nice, but I found no converter from MoinMoin to anything compatible with Nikola.

Following this post http://carreau.github.io/posts/06-NBconvert-Doc-Draft.html , I thought I might give it a try using ipython within nikola:

In [1]:
URL = 'http://invibe.net/cgi-bin/index.cgi/SciBlog/2005-10-29?action=print'

NOTE: this should not be tried with these URLS as they do not exist anymore...

Read more…

Comments

2014-01-14 Trying out ipython blogging

How to easily publish an ipython notebook?

installing the appropriate plugins

Here, we will need to install additions to the nikola publishing tool: a rendering machine + a theme. Using homebrew in mcosx, this looks like:

brew install npm
npm install -g less

and

nikola install_theme zen-ipython

Once this was done, one could tune conf.py and then issue:

nikola new_post -f ipynb

Finally, one needs to build (nikola build) and publish (nikola deploy)

example

In [1]:
plot(rand(50))
Out[1]:
[<matplotlib.lines.Line2D at 0x10ab2d1d0>]

Comments

2014-01-04 Bootstrapping Nikola

Nikola Tesla Corner by nicwest, on Flickr

I have managed to install Nikola, and build a site using it using this code:

install-nikola.sh (Source)

git clone git://github.com/getnikola/nikola.git
cd nikola
pip install -r requirements-full.txt
pip install .
nikola init --demo invibe
nikola build
nikola serve

Pretty simple, congratulations to the developpers!

More info:

Comments