Replies: 2 comments 4 replies
-
Hi @pradyunsg ! What do you think about this suggestion? |
Beta Was this translation helpful? Give feedback.
-
So... IIUC, there's three suggestions here:
Let's restrict the scope of all of these to auto-summary tables.
For now, my pragmatic suggestion would be: You can add your own CSS file that contains the following, for now. I'll come around to experimenting with this over the weekend, hopefully. .longtable {
width: 100%;
}
.longtable tr td:first-child {
width: 50%;
white-space: nowrap;
} This should get you basically the behaviours that you want, minus the vertical line removal -- but that... as I said, I'm lukewarm on. I think removing that should be straightforward, but I don't wanna open a 5th editor window to look that up. :P |
Beta Was this translation helpful? Give feedback.
-
Hi! Thank you for the great theme!
When testing it for my project (namely, for this page), I noticed that in the case when there are several autosummary tables on one page, the result could look better if:
I am not completely sure about the second point, but is inspired by the fact that in academic publications it is often recommended to make tables without vertical lines. And I tend to agree that without them, tables indeed look better in most cases.
The source code of the page:
How the tables look with Sphinx-Material:
With Furo:
If you want to try it yourself, set up the development environment and run
make docs
.Another example for which I do not have a Furo-based counterpart is https://pytorch.org/docs/stable/nn.html
Beta Was this translation helpful? Give feedback.
All reactions