Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .ddev/commands/web/build-docs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ echo "${bold}${green}🔧 Building user documentation...${reset}"
cd /var/www/html/docs
echo

# Run the build
make html
# Run a clean build so changes to static assets (CSS, JS, images) are
# always picked up. In some incremental rebuild scenarios (e.g. timestamp
# sync issues on shared volumes), Sphinx can otherwise serve stale files
# from build/html/_static after a static-only edit.
make clean html

# Success message
echo
Expand Down
9 changes: 9 additions & 0 deletions docs/_static/tablefix.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
white-space: normal;
}

.wy-table-responsive table {
table-layout: fixed;
}

.wy-table-responsive table td code,
.wy-table-responsive table th code {
white-space: normal;
overflow-wrap: anywhere;

.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
Expand Down
Loading