"chunk after expression" build error?

589 views
Skip to first unread message

E. Kelly

unread,
Nov 30, 2016, 6:46:24 PM11/30/16
to sphinx-users

I recently started getting this build message: 

WARNING: exception while evaluating only directive expression: chunk after expression


I'd like to debug it, but I have no idea what it means by "chunk".  


Here is the area it seems to be complaining about: 


.. only:: html

   Index and Search
   ------------------

   :ref:`genindex`

   :ref:`search`

I added the "only" statement because the index and search pages were problems when I built the document as latexpdf. 


This all seems to be working, though. Maybe there's a syntax error? 

Komiya Takeshi

unread,
Dec 2, 2016, 11:48:42 PM12/2/16
to sphinx-users
Hi,

"chunk after expression" means syntax error.
The directive raises error if there are no empty line after `only` directive.
So it will be resolved. Please try it.

Thanks,
Takeshi KOMIYA

2016年12月1日木曜日 8時46分24秒 UTC+9 E. Kelly:
Reply all
Reply to author
Forward
0 new messages