You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the user guide and contributor guide have grown by accretion: new pages have been added at the end of the toctree without re-grouping. The result is flat lists of 14+ items with no captions, and several pages in positions that don't match how readers actually use them.
Pairs naturally with the style guide work in #4419 — easier to reorganize once and apply the new vocabulary in the same rewrite, rather than doing two passes.
User guide problems
Current docs/source/user-guide/latest/index.rst is a flat 14-item toctree. Issues:
"Building From Source" is position 2. That's a contributor concern; new users install Comet pre-built and shouldn't see "build from source" as the second step.
"ScalaUDF and Java UDF Support" is split from the other "Supported X" reference pages.
"Configuration Settings" is at position 8. Users want config near the top right after install.
"Understanding Comet Plans" is at position 10, but it's the page users hit first when debugging fallback.
No grouping/captions — flat list, no narrative.
Proposed user-guide grouping
Section
Pages
Getting Started
Installing Comet · Configuration Settings
What Comet Supports
Supported Data Sources · Supported Data Types · Supported Operators · Supported Expressions · Scala/Java UDF Support · Compatibility Guide
Building From Source (or move to contributor guide entirely)
Contributor guide problems
Current docs/source/contributor-guide/index.md is a flat 23-item toctree. Issues:
Architecture pages come before dev setup. New contributors land on FFI/Shuffle internals at positions 3-5 before they've built the project. Development Guide (position 6) should come right after Getting Started.
Observability tooling is scattered.Debugging (position 7), Benchmarking (position 9), Tracing (position 15), and Profiling (position 16) are spread across the list but cover one concern.
Test pages are buried at positions 17-19, despite testing being central to the contributor workflow.
Reference tables interrupt the flow.Supported Spark Expressions and Supported Spark Configurations (positions 13-14) are large generated reference pages sitting in the middle.
ANSI Error Propagation (position 8) is a deep technical page mixed in with operational ones; belongs in architecture.
Tighter guide intros. Both index pages currently list contents generically. Add a short "How to use this guide" paragraph with bolded entry points (e.g. "New users: start with Installing Comet, then Configuration Settings, then Understanding Comet Plans") so a reader knows what to read first without scanning the full toctree.
Add an "Architecture in 5 minutes" bridge page. The user guide's Understanding Comet Plans explains plan output but skips the why; the contributor guide's Plugin Overview goes straight to internals. A short shared page bridging "what users see in plans" to "how Comet rewrites the plan" would help both audiences.
Add an FAQ page. Absorbs questions that come up in issues/Slack and don't have a natural home elsewhere.
Add a version-support summary. No global "Comet $VERSION supports Spark 3.4 / 3.5 / 4.0 with these caveats" page; each support table has its own version columns. A summary up front would help.
Smaller issues worth fixing in the same pass
The user guide is .rst (Sphinx native); the contributor guide is .md with MyST. Harmless, but mildly annoying when editing. Worth deciding on one format. (Likely MyST since most existing pages are markdown.)
docs/temp/ looks like leftover scaffolding — confirm it can be deleted.
iceberg.md (user) vs iceberg-spark-tests.md (contributor) — naming is fine; both are appropriately scoped to their audience.
Migration plan
Land the captions/grouping first (toctree changes only — no page moves, no content changes). Low-risk; reviewers can see the new structure.
Move Building From Source if the consensus is to relocate it.
Add the new pages (Glossary, Architecture-in-5, FAQ, Version Support) one at a time as separate PRs.
Motivation
Both the user guide and contributor guide have grown by accretion: new pages have been added at the end of the toctree without re-grouping. The result is flat lists of 14+ items with no captions, and several pages in positions that don't match how readers actually use them.
Pairs naturally with the style guide work in #4419 — easier to reorganize once and apply the new vocabulary in the same rewrite, rather than doing two passes.
User guide problems
Current
docs/source/user-guide/latest/index.rstis a flat 14-item toctree. Issues:Proposed user-guide grouping
Contributor guide problems
Current
docs/source/contributor-guide/index.mdis a flat 23-item toctree. Issues:Proposed contributor-guide grouping
Cross-cutting improvements
indexpages currently list contents generically. Add a short "How to use this guide" paragraph with bolded entry points (e.g. "New users: start with Installing Comet, then Configuration Settings, then Understanding Comet Plans") so a reader knows what to read first without scanning the full toctree.Smaller issues worth fixing in the same pass
.rst(Sphinx native); the contributor guide is.mdwith MyST. Harmless, but mildly annoying when editing. Worth deciding on one format. (Likely MyST since most existing pages are markdown.)docs/temp/looks like leftover scaffolding — confirm it can be deleted.iceberg.md(user) vsiceberg-spark-tests.md(contributor) — naming is fine; both are appropriately scoped to their audience.Migration plan
Related