Skip to content

Docs: lead the landing page with a five-line example; diagram to the bottom, capped width - #38

Merged
electricessence merged 2 commits into
masterfrom
docs/index-diagram
Nov 6, 2026
Merged

electricessence merged 2 commits into
masterfrom
docs/index-diagram

Conversation

@electricessence

@electricessence electricessence commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

The landing page led with the architecture diagram, an SVG without an intrinsic size that scaled to the full width of the page and pushed the actual content down.

  • The first screen now shows the pitch and a five-line example (the same compiled sample the README uses, samples/BeforeAfter.cs#ode_list_factory).
  • The diagram moves to the bottom under "How it fits together" and is capped at 520 px wide (it still shrinks on narrow screens).

Nothing else changes. The Docs check builds the site on this PR (a wrong sample path would show as a DocFX warning); after merge the site republishes by itself.

🤖 Generated with Claude Code

electricessence and others added 2 commits November 5, 2026 17:31
…and cap its width

The SVG has no intrinsic size, so it scaled to the full page width and dominated the landing page. It now sits under
"How it fits together" after the text, limited to 520 px wide (it still shrinks on narrow screens).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A compact, compiled example (the same sample the README uses) now sits right under the introduction, so the first screen shows
what the library does instead of a large diagram. The diagram stays at the bottom, capped in width.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@electricessence electricessence changed the title Docs: architecture diagram to the bottom of the landing page, capped width Docs: lead the landing page with a five-line example; diagram to the bottom, capped width Nov 6, 2026
@electricessence
electricessence merged commit 7a3ed5b into master Nov 6, 2026
@electricessence
electricessence deleted the docs/index-diagram branch November 6, 2026 01:32
electricessence added a commit that referenced this pull request Nov 6, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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