Skip to content

fix(docs): remove stale hardcoded function count from Learn page - #52

Merged
hhimanshu merged 1 commit into
mainfrom
fix/50-stale-function-count
Jul 23, 2026
Merged

fix(docs): remove stale hardcoded function count from Learn page#52
hhimanshu merged 1 commit into
mainfrom
fix/50-stale-function-count

Conversation

@hhimanshu

@hhimanshu hhimanshu commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removed the hardcoded 484 function count from content/docs/learn/(foundations)/functions.mdx — the intro paragraph now says TrueCalc implements "a wide range" of functions and links to the full function catalogue for the current count.
  • The closing "Discovering functions from code" section similarly drops the stale "all 484 functions" phrasing in favor of "the complete function catalogue," which already links to the generated Reference tab.

How to test

  • npm run dev, then open http://localhost:3000/docs/learn/foundations/functions (adjust base path if running without NEXT_PUBLIC_BASE_PATH).
  • Confirm the intro paragraph reads "...implements a wide range of Google Sheets functions..." with a link to /reference/functions, and no hardcoded number appears anywhere on the page (search the rendered page for "484" — zero matches).
  • Or without a server: grep -n 484 "content/docs/learn/(foundations)/functions.mdx" returns nothing.

Review

  • Independent review: clean (reviewer: fresh subagent). Confirmed the diff touches only functions.mdx, content/docs/reference/functions/ is untouched, npm run build and npm run test-docs both pass (66/66 example blocks), and no other stale "484" references were introduced by this change (pre-existing occurrences in formulas.mdx and values-and-types.mdx are out of scope for this issue).

Test plan

  • npm run build — static export succeeds, no errors
  • npm run test-docs — 66/66 example blocks pass
  • git diff --exit-code -- content/docs/reference/functions — clean, confirms generated reference docs untouched

closes #50

🤖 Generated with Claude Code


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

The Learn functions page asserted a fixed function count that drifted
from the generated Reference page, contradicting it. Reword to point
readers at the Reference tab instead of hardcoding a number that will
go stale again.

closes #50
@hhimanshu hhimanshu self-assigned this Jul 22, 2026
@hhimanshu
hhimanshu merged commit ef9efea into main Jul 23, 2026
1 check passed
@hhimanshu
hhimanshu deleted the fix/50-stale-function-count branch July 23, 2026 00:49
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.

fix: stale "484 functions" claim contradicts live 516-function reference

1 participant