Repository navigation
docs: streamline CSR and graph algorithms guides, fix links and prose - #220
Merged
Merged
Conversation
Deploying lance-csr with
|
| Latest commit: |
9b116b9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a249cf1b.lance-csr.pages.dev |
| Branch Preview URL: | https://docs-phase-2-csr-algorithms.lance-csr.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 2 of improving docs readability and practitioner clarity:
docs/csr.md(5,485 → 3,340 words): Promoted When it helps and the decision table up front, moved leaked planner/threshold internals to links intodocs/internals/, and kept all 10 runnable snippets and anchors intact.docs/graph-algorithms.md(3,466 → 2,263 words): Added a closed-loop workflow diagram (Lance → export_graph/export_subgraph → icebug/SciPy/GPU renderers → write_node_column → Cypher), collapsed the 80-lineicebug 13.6weight-compatibility matrix into a??? note, and cross-linked GPU graph rendering indocs/typescript.md.github.iolinks (docs/typescript.mdLanceDB link →https://lancedb.com/docs/,docs/graph-algorithms.mdNetworKit link →https://github.com/networkit/networkit)."knows fails","deletes fails","reads runs","lacks reads","fetches shadow","supports works","follows has").Problem and why it matters
docs/csr.mdburied its practical "Should I turn it on?" guidance at line 581 of 594 while repeating planner eligibility rules and adaptive Lance read thresholds already documented indocs/internals/.docs/graph-algorithms.mdburied its core practitioner loop (export → algorithm → write scores back to Lance without rebuilding CSR) under ~80 lines of third-partyicebug 13.6caveats.github.iolinks (lancedb.github.io/lancedb/andnetworkit.github.io) were still present in the docs.Change
docs/csr.md: Moved When it helps and the workload recommendation table directly after Turning it on. Slimmed the Memory cost callout to practical sizing guidance and linked tointernals/indexes.mdfor source layouts and packed edge rows. Replaced repeated 30–40 line internal descriptions under Relationship variables, Grouping by a node, and Named paths and shortest paths with concise user-facing behavior plus links tointernals/operators.mdandinternals/optimizer.md. Preserved all existing heading anchors and runnable snippets.docs/graph-algorithms.md: Opened with a Mermaid flowchart illustrating the zero-copy export +write_node_column()closed loop. Tightened Edge weights and Subgraphs, collapsed the per-algorithmicebug 13.6weight table andEdmondsKarpcopy workaround into a??? note, cross-linkeddocs/typescript.md#drawing-the-whole-graph, and replacednetworkit.github.iowithhttps://github.com/networkit/networkit.github.iolinks: Replacedhttps://lancedb.github.io/lancedb/indocs/typescript.mdwithhttps://lancedb.com/docs/(verifiedgit grep -n "github\.io"returns zero matches across the repository).docs/: Rewrote ~20 garden-path and colliding-verb sentences acrossdocs/lance.md,docs/running-queries.md,docs/sql.md,docs/csr.md,docs/graph-algorithms.md,docs/contributing.md, anddocs/internals/{index,indexes,operators,optimizer}.md.Validation
Documentation-only changes; no engine code or benchmarks changed.
uv run --project docs --locked zensical build --strict— passed (No issues found)cd python && uv run --no-sync python ../docs/check_snippets.py— passed (all runnable blocks across every page, including 10 blocks incsr.mdand 11 blocks ingraph-algorithms.md)git grep -n "github\.io"— zero matches across tracked filesuvx typos@1.52.0 .— passed with zero issuesUser impact
Documentation readability and broken-link fixes only. All existing anchors on
csr.mdandgraph-algorithms.mdremain intact. No API or runtime behaviour changed.