fix(docs): remove stale hardcoded function count from Learn page - #52
Merged
Conversation
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
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
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.How to test
npm run dev, then openhttp://localhost:3000/docs/learn/foundations/functions(adjust base path if running withoutNEXT_PUBLIC_BASE_PATH)./reference/functions, and no hardcoded number appears anywhere on the page (search the rendered page for "484" — zero matches).grep -n 484 "content/docs/learn/(foundations)/functions.mdx"returns nothing.Review
functions.mdx,content/docs/reference/functions/is untouched,npm run buildandnpm run test-docsboth pass (66/66 example blocks), and no other stale "484" references were introduced by this change (pre-existing occurrences informulas.mdxandvalues-and-types.mdxare out of scope for this issue).Test plan
npm run build— static export succeeds, no errorsnpm run test-docs— 66/66 example blocks passgit diff --exit-code -- content/docs/reference/functions— clean, confirms generated reference docs untouchedcloses #50
🤖 Generated with Claude Code
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.