New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table cell text does not wrap in ".. list-table::" #1505
Comments
Filed PR #1506 which potentially fixes the issue. |
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here (in conf.py). The PRRTE docs don't use the RST ".. list-table::" directive much, so this change won't really have much of an effect here. However, OMPI and PMIx were updated with this conf.py change, so we might as well keep all 3 projects more-or-less in sync. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here (in conf.py). The PRRTE docs don't use the RST ".. list-table::" directive much, so this change won't really have much of an effect here. However, OMPI and PMIx were updated with this conf.py change, so we might as well keep all 3 projects more-or-less in sync. Signed-off-by: Jeff Squyres <jeff@squyres.com>
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 8e9a24f)
I noted on PR #1506:
Unfortunately, it looks like What's the best way to get word wrapping enabled in |
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9b3bdf8)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9b3bdf8)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here (in conf.py). The PRRTE docs don't use the RST ".. list-table::" directive much, so this change won't really have much of an effect here. However, OMPI and PMIx were updated with this conf.py change, so we might as well keep all 3 projects more-or-less in sync. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9ef7478)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here (in conf.py). The PRRTE docs don't use the RST ".. list-table::" directive much, so this change won't really have much of an effect here. However, OMPI and PMIx were updated with this conf.py change, so we might as well keep all 3 projects more-or-less in sync. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9ef7478)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9b3bdf8)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9b3bdf8)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here (in conf.py). The PRRTE docs don't use the RST ".. list-table::" directive much, so this change won't really have much of an effect here. However, OMPI and PMIx were updated with this conf.py change, so we might as well keep all 3 projects more-or-less in sync. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9ef7478)
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here (in conf.py). The PRRTE docs don't use the RST ".. list-table::" directive much, so this change won't really have much of an effect here. However, OMPI and PMIx were updated with this conf.py change, so we might as well keep all 3 projects more-or-less in sync. Signed-off-by: Jeff Squyres <jeff@squyres.com> (cherry picked from commit 9ef7478)
I think you can remove the "Needed: replication" label since the issue is visible at https://sphinx-rtd-theme.readthedocs.io/en/latest/demo/lists_tables.html#list-tables |
The sphinx-rtd-theme currently disables word wrap in table cells due to a bug: readthedocs/sphinx_rtd_theme#1505 This is fixed by overriding the CSS and enabling word wrapping.
The sphinx-rtd-theme currently disables word wrap in table cells due to a bug: readthedocs/sphinx_rtd_theme#1505 This is fixed by overriding the CSS and enabling word wrapping.
The sphinx-rtd-theme currently disables word wrap in table cells due to a bug: readthedocs/sphinx_rtd_theme#1505 This is fixed by overriding the CSS and enabling word wrapping.
The sphinx-rtd-theme currently disables word wrap in table cells due to a bug: readthedocs/sphinx_rtd_theme#1505 This is fixed by overriding the CSS and enabling word wrapping.
The sphinx-rtd-theme currently disables word wrap in table cells due to a bug: readthedocs/sphinx_rtd_theme#1505 This is fixed by overriding the CSS and enabling word wrapping.
The sphinx_rtd_theme does not properly handle wrapping long lines in table cells when rendering to HTML due to a CSS issue (see readthedocs/sphinx_rtd_theme#1505). Until the issue is fixed upstream in sphinx_rtd_theme, we can simply override the CSS here. This commit overrides the CSS in conf.py and also touches up some places where we previously tried to work around the lack of word wrapping. Signed-off-by: Jeff Squyres <jeff@squyres.com>
Problem
When using the
sphinx_rtd_theme
, text does not wrap in RST.. list-table::
cells like it does with the default Sphinx HTML theme. For example, the default Sphinx HTML builder theme renders like this:(FWIW: the LaTeX and text Sphinx builders also render with wrapped text in the cell)
But the
sphinx_rtd_theme
renders the same RST like this:The HTML difference between the two appears to be that the
sphinx_rtd_theme
has this set:Reproducible Project
conf.py
:index.rst
:Error Logs/Results
Expected Results
I expect the words to wrap in the cell, like they do with the default Sphinx HTML builder theme, and with other Sphinx builders.
Environment Info
The text was updated successfully, but these errors were encountered: