Skip to content

Node.js documentation does not index "Static Method:" methods #2567

@forivall

Description

@forivall

Documentation style bug

Summary

The Node.js documentation is missing items such as KeyObject.from and Buffer.isEncoding from the search index. Additionally, items like Buffer.from and Buffer.alloc go to a section of the documentation discussing the deprecated use of the Buffer constructor, rather than the documentation of the method signature.

Actual style

https://devdocs.io/node~22_lts/buffer

Image

Expected style

https://nodejs.org/docs/latest/api/buffer.html#static-method-bufferisencodingencoding

https://nodejs.org/docs/latest-v22.x/api/buffer.html#static-method-bufferisencodingencoding

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions