docs - fixed wy-table-responsive html not not displaying

This commit is contained in:
Django Goat 2025-02-20 19:29:11 +02:00 committed by Aleksi Häkli
parent 784f1930af
commit a0df8ae7c4
2 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,9 @@
@import url("theme.css"); @import url("theme.css");
.wy-nav-content { .wy-nav-content {
max-width: 90%; max-width: none;
}
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: inherit;
} }

View file

@ -6,7 +6,7 @@ More information on the configuration options is available at:
https://www.sphinx-doc.org/en/master/usage/configuration.html https://www.sphinx-doc.org/en/master/usage/configuration.html
""" """
import sphinx_rtd_theme # import sphinx_rtd_theme
from pkg_resources import get_distribution from pkg_resources import get_distribution
import django import django
@ -25,7 +25,7 @@ description = ("Keep track of failed login attempts in Django-powered sites.",)
# Add any Sphinx extension module names here, as strings. # Add any Sphinx extension module names here, as strings.
# They can be extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # They can be extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ["sphinx.ext.autodoc"] extensions = ["sphinx_rtd_theme","sphinx.ext.autodoc"]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"] templates_path = ["_templates"]
@ -74,7 +74,7 @@ html_theme = "sphinx_rtd_theme"
html_style = "css/custom_theme.css" html_style = "css/custom_theme.css"
# Add any paths that contain custom themes here, relative to this directory. # Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,