vladris/tinkerer

how to fix ERROR: Content block expected for the "raw" directive; none found.?

Closed this issue · 1 comments

hi.

as3:/tinkerer-site# nano /root/tinkerer-site/2013/12/09/fengyuwuzu.rst
as3:
/tinkerer-site# cat /root/tinkerer-site/2013/12/09/fengyuwuzu.rst

风雨无阻

.. author:: default
.. categories:: none
.. tags:: none
.. comments::

.. raw:: html

as3:/tinkerer-site#
as3:
/tinkerer-site# tinker --build
Making output directory...
Running Sphinx v1.1.3
loading pickled environment... not yet created
building [html]: targets for 6 source files that are out of date
updating environment: 6 added, 0 changed, 0 removed
reading sources... [100%] master
/root/tinkerer-site/2013/12/09/fengyuwuzu.rst:11: ERROR: Content block expected for the "raw" directive; none found.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] master
writing additional files... search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.
as3:~/tinkerer-site#

Looks like you need to add some content below the raw directive which will get passed through. More about it here: http://docutils.sourceforge.net/docs/ref/rst/directives.html#raw-data-pass-through

This is not a Tinkerer bug.