[ckan-dev] Polite notice: tests and docs

Rufus Pollock rufus.pollock at okfn.org
Fri Mar 2 20:27:27 UTC 2012


On 2 March 2012 18:53, Adrià Mercader <amercadero at gmail.com> wrote:
> Hi all,
>
> Please have a look at the tests before commiting stuff to master.
>
> Right now we have:
>
> Ran 876 tests in 188.204s
> FAILED (SKIP=53, errors=178, failures=1)
>
> Also check that the docs are built correctly after updating them:
>
> Right now we have:
>
> python setup.py build_sphinx
>
>  File "/home/adria/dev/pyenvs/ckan_plain/src/ckan/doc/_themes/sphinx-theme-okfn/layout.html",
> line 3, in top-level template code
>    {% set css_files = ['_static/css/bootstrap.css',
> '_static/css/bootstrap-responsive.css',
> '_static/bootstrap-sphinx.css'] + css_files %}
> jinja2.exceptions.UndefinedError: 'css_files' is undefined
>
> Your fellow developers will appreciate it.

Apologies, that was a change last night that I meant to email about
this morning and failed do :-(

You need to do:

git submodule init
git submodule update

To get the new sphinx theme which you can see in action here:

<http://docs.ckan.org/en/latest/index.html>

I think it looks rather nicer.

Rufus




More information about the ckan-dev mailing list