Hi, It caused by shortage of spaces for content of "only" directive. Please add 3 spaces to the text "2". It should be indented to the level of the directive.
Thanks, Takeshi KOMIYA 2018年9月3日(月) 21:10 MartenH <marten.hild...@gmail.com>: > > Hi, > > Thanks for your answer. It's still not clear to me > > .. list-table:: Some table > > * - # > - head1 > - head2 > * - 1 > - foo > - bar > * - .. only:: something > > 2 > - foo2 > - bar2 > * - 3 > - foo3 > - bar3 > > Then I get: Error parsing content block for the "list-table" directive: > uniform two-level bullet list expected, but row 7 does not contain the same > number of items as row 1 (1 vs 3). > > I'm surely missing something here... > > BR > /Marten > > > > > > > Den torsdag 30 augusti 2018 kl. 17:22:37 UTC+2 skrev Komiya Takeshi: >> >> Hi, >> >> You can do it with list-table directive: >> >> .. list-table:: >> >> * - header1 >> - header2 >> * - .. only:: ... >> >> >> Thanks, >> Takeshi KOMIYA >> 2018年8月28日(火) 21:46 MartenH <marten....@gmail.com>: >> > >> > Hi, >> > >> > I want to be able to use ".. only::" or ".. ifconfig::" inside a table >> > (any table sort), but sphinx does not like me at all. >> > Is it even possible? If so how? >> > >> > BR >> > /Marten >> > >> > -- >> > 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 post to this group, send email to sphinx...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/sphinx-users. >> > For more options, visit https://groups.google.com/d/optout. > > -- > 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 post to this group, send email to sphinx-users@googlegroups.com. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.