>I read about that but most likely I did not understand it well. I thought that 
>the content is a table itself ...

Yes. Please put your table into the content area of the table directive.
The error you saw (WARNING: Content block expected for the "table"
directive; none found.) means the directive could not find any
content.

>Could you please give me an example?

Here.

.. table:: Truth table for "not"
   :class: longtable

   =====  =====
     A    not A
   =====  =====
   False  True
   True   False
   =====  =====

2021年4月4日(日) 4:41 VlaMa <vladimir.ma...@frafos.com>:
>
> Hi,
>
> I read about that but most likely I did not understand it well. I thought 
> that the content is a table itself ...
> What should I write there as a "table mark-up content"? Could you please give 
> me an example?
>
> Thanks!
>
> On Saturday, April 3, 2021 at 9:36:10 AM UTC+2 i.tk...@gmail.com wrote:
>>
>> Hi,
>>
>> It seems you did not write a table mark-up as a content of the table
>> directive. It expects table mark-up as its content. Please read the
>> document of the directive:
>> https://docutils.sourceforge.io/docs/ref/rst/directives.html#table
>>
>> Thanks,
>> Takeshi KOMIYA
>>
>> 2021年3月30日(火) 16:55 VlaMa <vladimi...@frafos.com>:
>> >
>> > Hello,
>> >
>> > I have a table which is generated across one pdf page and rest of it is 
>> > hidden (it is not
>> > shown on second page). I found out I should be able to use
>> >
>> > .. table::
>> > :class: longtable
>> >
>> > and that should break the table in my pdf output. However this does not 
>> > work for me and
>> > the table is still rendered incorrectly.
>> > During document compilation there is following warning:
>> > WARNING: Content block expected for the "table" directive; none found.
>> >
>> > Unfortunately I did not figured out what that means and I don't know how 
>> > to fix it. Is it
>> > possible this warning causing the issue that table is not well formatted?
>> >
>> > Any tips are appreciated.
>> >
>> > Thanks!
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "sphinx-users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to sphinx-users...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sphinx-users/43b01acb-8c98-4904-a9bf-286ba0a867fbn%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sphinx-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/b9704311-3019-4aac-be5a-2bb06b58c4ean%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFmkQAMDLcEDgFiNjhjHb%3DzaSyRhGdQgZAz%2BhRLB71HP5p9iGA%40mail.gmail.com.

Reply via email to