Skip to content

docs: rewrite sync overview page#125

Merged
yjouffrault merged 4 commits into
mainfrom
docs/update-sync-overview
May 20, 2026
Merged

docs: rewrite sync overview page#125
yjouffrault merged 4 commits into
mainfrom
docs/update-sync-overview

Conversation

@yjouffrault
Copy link
Copy Markdown
Contributor

@yjouffrault yjouffrault commented May 18, 2026

Summary by CodeRabbit

  • Documentation
    • Rewrote README into a full product guide: purpose, core concepts, CLI usage (diff/sync/generate/list), adapters overview, install/get-started, FAQs and resources.
  • Style
    • Expanded spelling/term exceptions to include several additional allowed tokens and proper names.

Review Change Stack

Rewrites the Infrahub Sync docs overview page at docs/docs/readme.mdx from an index of links into a narrative overview, grounded in the recent OpsMill messaging brief for Infrahub Sync.

The previous version was four lists (Guides, Reference, Adapters, Contributing) under a single intro paragraph. The new version introduces what Infrahub Sync is, the three core concepts a reader needs to navigate the rest of the documentation, how the generate/diff/sync workflow operates, who the tool is for, what's included, and a short Common questions section. Every link from the previous index lands somewhere in the new structure — How it works, Get started, or Additional resources.

Structure

Section What's there
Intro + capabilities list Two paragraphs + six-bullet capability list (migration, recurring sync, discovery, outbound, translation, diff preview)
How it works New Concepts subsection (sync project, adapter, schema mapping) + the existing Define / Preview / Execute subsections
Who it's for Three concrete use cases with directional links
What's included Capability bullets + a new Adapter reference table showing direction support per adapter
Get started Prerequisites + install + starting-point routing
Common questions Six FAQ entries covering the questions teams ask most often before adopting
Additional resources Two-column link table

Verified facts

All product claims in the new page were verified against the repo:

  • Adapter list and direction support (per docs/docs/adapters/*.mdx)
  • 4 CLI commands (list, diff, generate, sync)
  • 14 filter operations, diffsync_flags, INFRAHUB_SYNC_ADAPTER_PATHS
  • Python 3.10–3.13
  • All internal links resolve

Vale + markdownlint

Both pass cleanly. Spelling exceptions added for terms used in the new content:

  • cron, cutover, declaratively, diffsync, Prefect, Slurp'it, Typer

Verification

  • vale docs/docs/readme.mdx → 0 errors, 0 warnings
  • npx markdownlint-cli2 docs/docs/readme.mdx → 0 errors
  • cd docs && npm run build → succeeds, no broken-link warnings on the new page

🤖 Generated with Claude Code

The previous overview at docs/docs/readme.mdx was an index of links to
guides, references, and adapters. The new version is a narrative
overview that introduces what Infrahub Sync is, the three core concepts
(sync project, adapter, schema mapping), how the diff/sync workflow
operates, who the tool is for, what's included, and common questions
teams ask before adopting. All existing links from the old index are
preserved across the new sections (How it works, Get started, and
Additional resources).

Content sourced from the recent OpsMill messaging brief for Infrahub
Sync; facts verified against the repo (adapters, CLI commands,
diffsync_flags, filter operations, Python version range).

Also adds spelling exceptions for terms used in the new content:
cron, cutover, declaratively, diffsync, Prefect, Slurp'it, Typer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yjouffrault yjouffrault added type/documentation Improvements or additions to documentation ci/skip-changelog This will not be added to release notes labels May 18, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 18, 2026

Deploying infrahub-sync with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1641e1a
Status: ✅  Deploy successful!
Preview URL: https://a7100f68.infrahub-sync.pages.dev
Branch Preview URL: https://docs-update-sync-overview.infrahub-sync.pages.dev

View logs

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1f20d36b-8453-44a5-8804-f0fa14332ac0

📥 Commits

Reviewing files that changed from the base of the PR and between 8a277d3 and 1641e1a.

📒 Files selected for processing (1)
  • docs/docs/readme.mdx

Walkthrough

This PR updates documentation and configuration: it expands the Vale spelling-exceptions list with new product terms and replaces the brief README with a comprehensive Infrahub Sync product README covering purpose, core concepts, CLI commands (diff, sync, generate, list), adapter library and directionality, installation/get-started steps, a common-questions FAQ, and consolidated resource links.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'docs: rewrite sync overview page' accurately summarizes the main change—a comprehensive rewrite of the docs/docs/readme.mdx file from a structural index into a full narrative overview.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

yjouffrault and others added 2 commits May 18, 2026 16:41
Addresses audit finding #2: the Concepts callout introduced `generate`
as one of three CLI commands operating on a sync project, but the
subsections that followed only covered Define / Preview / Execute. A
reader saw `generate` named once and then never explained on the page.

Adds a short subsection between "Define a sync project" and
"Preview with diff" describing what `generate` does and when to re-run
it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…urp'it apostrophe

Three small audit follow-ups against the new overview page:

- Adapter description: replace "pagination" with "request handling".
  The blanket claim that every adapter handles pagination is optimistic
  for the Generic REST API adapter, which has no explicit pagination
  logic; SDK-based adapters (NetBox, Nautobot, IP Fabric) handle it
  internally via their SDKs. "Request handling" covers the general
  responsibility without overclaiming.
- Drop "renames" from the schema-mapping bullet. The schema model has
  no "rename" concept distinct from a direct mapping; the word read as
  a separate feature alongside identifiers/references/static values
  but isn't one.
- Normalize Slurp'it to the typographic apostrophe (Slurp'it),
  matching the convention used in docs/docs/adapters/slurpit.mdx.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yjouffrault yjouffrault requested a review from BeArchiTek May 19, 2026 15:34
The line "Three key concepts in Infrahub Sync:" did not add information
over the section heading. The three bullets stand on their own; the
closing "Three CLI commands operate on a sync project: …" line still
provides the connection to the subsections that follow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yjouffrault yjouffrault merged commit cad63d3 into main May 20, 2026
12 checks passed
@yjouffrault yjouffrault deleted the docs/update-sync-overview branch May 20, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/skip-changelog This will not be added to release notes type/documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants