Skip to content

fix: docs page layout (backport #42) - #43

Merged
barredterra merged 4 commits into
version-15-hotfixfrom
backport-42-v15
Nov 19, 2026
Merged

barredterra merged 4 commits into
version-15-hotfixfrom
backport-42-v15

Conversation

@barredterra

Copy link
Copy Markdown
Member

Backport of the parts of #42 that also apply to v15.

  • Wide tables: a table that is wider than the content column scrolls sideways.
  • Table of contents: it stays in view while the content scrolls. A long table of contents scrolls by itself. The height limit includes the v15 top navbar.
  • Images: they fit the width of the content column.
  • Dark mode: inline code uses a light purple. Desk uses a dark purple that dark mode does not change.

Not backported, because v15 does not need it:

  • Breadcrumbs with page.set_breadcrumbs() and the removal of the breadcrumbs polyfill. This API does not exist in v15.
  • The page height without a top navbar. v15 still has the navbar.
  • The shrinking content column. In v15 the wrapper already shrinks.
  • The fill color of the "Copy as Markdown" icon. In v15 this icon already has a fill color.

Long values, such as field names in code, cannot wrap. A table with such
values was wider than the content column and overflowed it.

Wrap each table in a container that scrolls sideways. Narrow tables
look the same as before.
Make the table of contents sticky in the content column. A table of
contents that is taller than the screen scrolls by itself.

The content area had a fixed height, so the sticky table of contents
scrolled away with it. The content area now grows with the content
and is at least as tall as the screen.

Closes #26
Limit images to the width of the content column, so a wide image does
not overflow it.
Use a light purple for inline code in dark mode. Desk uses a dark
purple that dark mode does not change.
@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Reviews (1) · Last reviewed commit: "fix: readable inline code in dark mode" · Reviewed by Greptile

@barredterra
barredterra merged commit f820405 into version-15-hotfix Nov 19, 2026
5 checks passed
@barredterra
barredterra deleted the backport-42-v15 branch November 19, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant