csv-table widths not working for me

25 views
Skip to first unread message

Rob Torop

unread,
Aug 31, 2020, 9:10:27 AM8/31/20
to sphinx-users
I am using csv-table to read in a csv and display as a table.  It works in the sense that it reads in the table and puts it in the html, but it doesn't seem to be paying attention to what I put after :widths:

That is, I get the same thing, whether I omit :widths: or put in something like

  :widths: 45, 10, 45

(I have a CSV with two wide columns and a small one in the middle).

I am using sphinx 4.0.0+ on linux. 

I'd appreciate any advice!

Komiya Takeshi

unread,
Sep 5, 2020, 5:43:55 AM9/5/20
to sphinx...@googlegroups.com
Hi,

On my local, Sphinx outputs <colgroup> tag using `:withds:` option. I
think it works well in latest Sphinx.

<colgroup>
<col style="width: 45%" />
<col style="width: 10%" />
<col style="width: 45%" />
</colgroup>

Could you check generated HTML in your document?

Thanks,
Takeshi KOMIYA

2020年8月31日(月) 22:10 Rob Torop <rly...@gmail.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...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/79b05027-1eb9-4a29-8ef5-6366a2ff4f59n%40googlegroups.com.

Daniel Scott

unread,
Nov 25, 2020, 10:32:49 PM11/25/20
to sphinx...@googlegroups.com
--
Reply all
Reply to author
Forward
0 new messages