Skip to content

docs: revamp README landing page, add CONTRIBUTING.md and vimdoc#88

Merged
Cannon07 merged 5 commits into
mainfrom
docs/landing-page-revamp
Jun 12, 2026
Merged

docs: revamp README landing page, add CONTRIBUTING.md and vimdoc#88
Cannon07 merged 5 commits into
mainfrom
docs/landing-page-revamp

Conversation

@Cannon07

@Cannon07 Cannon07 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Revamps the README into a conversion-oriented landing page and splits maintainer/reference content into dedicated files, ahead of the v2.3.0 release. README drops from 471 → ~320 lines while adding previously-undocumented config (diff.layouts).

README

  • Top-of-fold rebuilt for newcomers: logo, tagline, badges (CI / release / Neovim / license), static hero, and one working demo GIF hoisted above the fold; remaining per-agent GIFs collapsed.
  • Quick start deduped — shared "any agent" flow + per-agent distinct steps only; the "reject → <leader>dq" note stated once.
  • Configuration keeps the common layout / per-agent layouts examples and points to :help code-preview-config instead of inlining the ~50-line block.
  • "How it works" trimmed to a user-altitude diagram + sentence, linking to CONTRIBUTING for internals.
  • Prose terminology aligned with CONTEXT.md (agent, preview).
  • Documents the previously-undocumented diff.layouts (keys claudecode | opencode | copilot | codex) and neo_tree.refresh_on_change.

New: CONTRIBUTING.md

Architecture + internals (hook entry, RPC, in-process core handler, per-agent integrations) + testing. Links down to CONTEXT.md and docs/adr/ rather than duplicating them. Corrects the stale claim that all agents have backends/ adapters — only OpenCode does.

New: doc/code-preview.txt (vimdoc)

:help tags for code-preview, -config, -commands, -keymaps, -agents, plus a tag per command. :helptags validates (25 tags). The canonical config block is copied verbatim from lua/code-preview/init.lua.

Assets

  • All README media consolidated under assets/ (git mv of the 5 GIFs from docs/, history preserved).
  • Header wired to assets/logo.svg; assets/diff-preview.png is the hero.
  • doc/tags added to .gitignore (plugin managers regenerate it).

Verification notes

  • ✅ Codex .codex/hooks.json (code), approval_policy = "on-request" + sandbox_mode = "read-only" (documented Codex values)
  • ✅ Copilot CLI "GA since Feb 2026" (GitHub Changelog)
  • ✅ "OpenCode >= 1.3.0" could not be substantiated → softened to "a version with plugin support"

🤖 Generated with Claude Code

Cannon07 and others added 5 commits June 12, 2026 09:07
Restructure the README around the core value prop (review AI-agent edits
as native Neovim diffs) and split maintainer/reference content out of it.

README:
- Conversion-oriented top-of-fold: logo, tagline, badges, hero, visible demo
- Hoist one working demo GIF above the fold; collapse the rest
- Dedupe Quick start into a shared flow + per-agent distinct steps
- Replace the exhaustive config block with a pointer to :help code-preview-config
- Keep only a user-altitude "How it works" (diagram + link to CONTRIBUTING)
- Align prose terminology with CONTEXT.md (agent / preview)
- Soften unverifiable "OpenCode >= 1.3.0" to non-version wording

New CONTRIBUTING.md: architecture, internals (hook entry, RPC, in-process
core handler, per-agent integrations), and testing; links to CONTEXT.md and
docs/adr/. Corrects the stale claim that all agents have backends/ adapters
(only OpenCode does).

New doc/code-preview.txt: vimdoc reference with :help tags; canonical config
block copied verbatim from lua/code-preview/init.lua.

Consolidate all README media under assets/ (git mv the GIFs from docs/),
wire the header to assets/logo.svg, and gitignore generated doc/tags.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a fuller opinionated lazy.nvim example (inline layout, per-agent
override, neo-tree git root) and document diff.defer_claude_permissions
as a caveated opt-out, per ADR-0002's call to make the override
discoverable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Cannon07 Cannon07 merged commit 998dedd into main Jun 12, 2026
3 checks passed
@Cannon07 Cannon07 deleted the docs/landing-page-revamp branch June 12, 2026 04:18
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