Skip to content

Commit

Permalink
Connect: Adjust layout of index page about client drivers
Browse files Browse the repository at this point in the history
The previous layout was no longer able to sustain content pressure
without becoming even more confusing about the discrimination between
PostgreSQL-based drivers, and HTTP-based ones.

The new approach is to have dedicated sections for each of them. It
yields a much better guidance than before.
  • Loading branch information
amotl committed Feb 12, 2024
1 parent b142563 commit 1d68543
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 210 deletions.
12 changes: 12 additions & 0 deletions docs/_static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
In `crate-docs-theme`, `src/crate/theme/rtd/crate/static/css/custom.css`
defines a style we don't want to apply here, specifically on `connect/index`.
.wrapper-content-right .section img {
margin-bottom: 16px;
}
*/

.wrapper-content-right .section img {
margin-bottom: unset !important;
}
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@
]

linkcheck_timeout = 5


html_static_path = ['_static']


def setup(app):
app.add_css_file('style.css')
Loading

0 comments on commit 1d68543

Please sign in to comment.