Skip to content

docs(analysis): drop the built-in tool count - #1044

Merged
Mavrick-F merged 1 commit into
opengeos:mainfrom
flight1973:docs/drop-tool-count
Oct 27, 2026
Merged

Mavrick-F merged 1 commit into
opengeos:mainfrom
flight1973:docs/drop-tool-count

Conversation

@flight1973

@flight1973 flight1973 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The sentence above the tool table in docs/user-guide/analysis.md counts the built-in tools by hand ("There are 25 built-in tools"). It is already stale on main: TOOLS in crates/analysis/src/tools.rs registers 26 tools and the table has 26 rows. Each pull request that adds a tool has to change that number, and whichever one merges later has to merge main again and redo it (#1003 needed a follow-up commit after Near and Vector to PMTiles landed). The sentence now reads "These are the built-in tools; …": the table lists them and gp.tools lists the available ones.

Testing

Docs only, one sentence. No code, test or xtask reads it, and git grep finds no other copy. pre-commit passes, and the branch merges cleanly into main and together with #1003.

Related issue

None. #1003 leaves the line as main has it, so the two don't conflict.

Summary by CodeRabbit

  • Documentation
    • Updated the geoprocessing tools guide to describe built-in tools without specifying a fixed count.

The sentence above the tool table counted the built-in tools by hand. The
count goes stale (main says 25 while TOOLS registers 26), and every pull
request that adds a tool edits the same line, so tool pull requests open
at the same time conflict with each other. The table lists the tools and
`gp.tools` lists the available ones, so the sentence no longer counts them.
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2927d35e-fab4-4144-b546-78b751cf1e31
Commits

Reviewing files that changed from the base of the PR and between f200e88 and d216121.

Files selected for processing: 1
  • docs/user-guide/analysis.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Walkthrough

The analysis guide no longer states a fixed number of built-in geoprocessing tools. It retains the statement that GeoLibre and plugin tools join the built-in tools when available.

Changes: Analysis guide documentation

Layer / File(s) Summary
Update tool count description
docs/user-guide/analysis.md
The description removes the fixed count of 25 built-in tools and retains the note about GeoLibre and plugin tools.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other · Severity of issue fixed: Low

Possibly related PRs

  • opengeos/RustGIS#984: Adds near to the built-in analysis tools and changes the same tool-count documentation.
  • opengeos/RustGIS#1003: Adds Feature Vertices To Points to the built-in tool table and changes the count from 24 to 25.
  • opengeos/RustGIS#1006: Adds vectorToPmtiles to the built-in tool table, changing the tool set represented by the fixed count.

Suggested reviewers: mavrick-f

Merge Risk: Minimal · up to d2161

The guide avoids a manually maintained tool count while preserving the availability description. No actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the documentation change: removing the manually maintained built-in tool count.
Description check Passed The description includes the required Summary, Testing, and Related issue sections. It explains the stale count, the replacement text, verification steps, and why UI evidence is not needed for this do…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
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.
Full details: Description check

Explanation

The description includes the required Summary, Testing, and Related issue sections. It explains the stale count, the replacement text, verification steps, and why UI evidence is not needed for this documentation-only change.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit reads the guide at dawn,
The fixed tool count is now withdrawn.
GeoLibre joins when it is there,
Plugin tools can join the pair.
The page stays clear, the count stays gone.

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

map was clicked is copied as the command that buffered it, with the point.

There are 25 built-in tools; GeoLibre and plugin tools join them when available.
These are the built-in tools; GeoLibre and plugin tools join them when available.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit (confidence: low-medium). "These" has no clear antecedent here: the paragraph above ends on copying a buffer as a command, so a reader may take "these" to mean that. The old "There are 25 built-in tools" had no such problem. Naming the table directly avoids both the count and the ambiguity:

Suggested change
These are the built-in tools; GeoLibre and plugin tools join them when available.
The built-in tools are listed below; GeoLibre and plugin tools join them when available.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs: None found. The one-line change is accurate: TOOLS in crates/analysis/src/tools.rs has 26 ToolSpec entries (the 27th id: " match is a test fixture at line 3007), and the table has 26 rows. Removing the hand-counted number is correct.

Security: None. Docs-only change.

Performance: None.

Quality:

  • Nit (confidence: low-medium): "These are the built-in tools" has no clear antecedent. The preceding paragraph ends on copying a buffer as a command, so "these" can read as referring to that. Posted as an inline comment with a suggested replacement ("The built-in tools are listed below; …").

AGENTS.md: No violations. The PR touches no code, interface text, assets or dependencies.

Checked: pr-context/diff.patch, the table in docs/user-guide/analysis.md, the TOOLS registry, and crates/assistant/src/docs.rs:33. That last file embeds analysis.md into the AI Assistant's docs, so the wording reaches the model as well as readers. No test asserts on the sentence or the count.

Change size

Compared: the whole PR against main (merge base f200e88 to PR head d216121).

Measure Value
Files changed 1 (added 0, modified 1, removed 0, renamed 0)
Size before 58.0 KB (59,220 B)
Size after 58.0 KB (59,221 B)
Total size change +1 B
Path Before After Change
docs/user-guide/analysis.md 57.8 KB (59,220 B) 57.8 KB (59,221 B) +1 B

@Mavrick-F
Mavrick-F enabled auto-merge (squash) October 27, 2026 23:03
@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs preview

Item Value
Preview https://preview.rustgis.app/pr-1044/
Web app https://preview.rustgis.app/pr-1044/app/
Commit d216121

GitHub Pages takes a minute or two to publish a new commit.

@Mavrick-F
Mavrick-F merged commit e043d0f into opengeos:main Oct 27, 2026
9 checks passed
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.

2 participants