Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

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

Closed
luckypoem opened this issue Dec 9, 2013 · 1 comment
Labels

Comments

@luckypoem
Copy link

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#

@vladris
Copy link
Owner

vladris commented Dec 9, 2013

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants