Closed
Description
Description
This RFC proposes improving README examples in namespace packages. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality. For example, see @stdlib/array
.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:
- Browse through the stdlib codebase and identify namespaces having only minimal README examples (e.g., start from the root directory: https://github.com/stdlib-js/stdlib/tree/64931c5fdb4abc3a339b619658d3b5acc089e556/lib/node_modules/%40stdlib)
- Leave a message on this issue letting project maintainers know that you are planning on updating a particular namespace README.
- After identifying a namespace README needing updates, update the README for that namespace and that namespace only and open a PR.
- When updating the README, examples should follow existing project conventions (e.g., ES5).
- Examples may
require
functionality from other packages to help make examples more interesting.
Related Issues
None.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
RFC feature request which has been accepted.Improvements, additions, or changes to documentation.A good first issue for new contributors!Issue involves or relates to JavaScript.Request for comments. Feature requests and proposed changes.Low degree of difficulty. Should be straightforward to implement and/or resolve.Normal priority concern or feature request.