docs: fix signatures#13426
Merged
Merged
Conversation
Propagates the REPL-signature fix from e713916 ("chore: clean-up") to `blas/ext/base/gindex-of`, `blas/ext/base/sindex-of`, and `blas/ext/base/dindex-of`, whose `.ndarray` variant signature headers were missing the `.ndarray` alias prefix.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
.ndarray REPL signature fix to blas/ext/base/*index-of.ndarray REPL signature fix to blas/ext/base/*index-of
kgryte
approved these changes
Jul 11, 2026
.ndarray REPL signature fix to blas/ext/base/*index-of
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.
Description
Propagating fixes merged to
developbetween 2026-07-10 12:54 PDT (e713916) and 2026-07-11 00:41 PDT (4da2dcf) to sibling packages carrying the same defect.Pattern: missing
.ndarrayprefix on ndarray-variant REPL signature headerCommit
e713916corrected the.ndarrayvariant signature header inblas/ext/base/sfirst-index-equal/docs/repl.txt— the alternative-indexing section's header line read{{alias}}( N, ... )rather than{{alias}}.ndarray( N, ... ), so REPL?help displayed the wrong signature. The same defect is present in three siblingblas/ext/basepackages: in eachdocs/repl.txt, the second signature block is documented as the alternative-indexing variant (mentions "alternative indexing semantics", acceptsoffsetX, example calls{{alias}}.ndarray(...)), but its header omits the.ndarrayprefix. Fix is one line per file: prepend.ndarrayto the header.e713916(chore: clean-up)blas/ext/base/gindex-ofblas/ext/base/sindex-ofblas/ext/base/dindex-ofRelated Issues
No.
Questions
No.
Other
Validation
**/docs/repl.txtfiles underlib/node_modules/@stdlib/, filtered to files that (a) contain both a bare{{alias}}(header with nooffsetparameter and a bare{{alias}}(header with anoffsetparameter, and (b) contain no{{alias}}.ndarray(header. This bounded the candidate set to exactly the three*index-offiles above.offsetXparameter, and whose Examples block already calls{{alias}}.ndarray(...); (b) a distinct main-variant signature (nooffset) lives at the top of the same file; (c) prepending.ndarrayis a safe, self-contained one-line edit.sfirst-index-equalreference exactly.Deliberately excluded:
dfirst-index-equal/docs/repl.txtsentence-terminating period and paragraph-break fix frome713916: a repo-wide search for the same signature (description sentence ending without a period, followed by a continuation paragraph on the next line without an intervening blank line) returned no other REPL doc with the same defect.sfirst-index-equal/README.md<!-- lint disable maximum-heading-length -->→enablecorrection frome713916: candidate READMEs (blas/ext/base/{gdiff,ddiff,sdiff},blas/base/cgemv) carry a related but structurally different defect (multiple uncloseddisabledirectives, each requiring insertion of a pairedenable— not adisable→enabletransform). The fix shape is not a direct analog of the source patch and would need adaptive per-site inserts. Logged for a future run.dfirst-index-equal/docs/types/index.d.tsdeclare const→declare varchange frome713916: a repo-wide search for^declare const \w+: Routine;in**/docs/types/index.d.tsreturned zero matches. The source commit closed the last remaining site.feat:commits in the window (sreplicate/dreplicatepackage additions,gammaincinvC implementation, TypeScript declaration updates): not fix patterns.docs: update namespace table of contents(31d535d, stdlib-bot): generator-owned files.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code on behalf of @Planeshifter as an automated propagation of fixes merged to
developover the prior 24 hours. Candidate source commits were filtered for generalizable patterns, sibling sites located via grep-able pattern signatures, and each proposed patch independently validated by parallel reviewer agents (two Opus validation passes, an adaptation pass, and a style-consistency pass) before commits were applied in the primary worktree. A maintainer should audit and promote out of draft.Generated by Claude Code