deno.land / std@0.224.0 / .github / CONTRIBUTING.md
Please read our code of conduct, style guide and architecture guide before contributing.
deno task ok
passes successfully.See the deprecation policy for how deprecations work.
Start creating a pull request by adding a deprecation notice to the given symbol with the following format, including the removal version and links to any relevant replacement symbols or documentation:
// /sub/foo.ts
/**
* @deprecated This will be removed in 0.215.0. Use {@linkcode bar} instead.
*/
export function foo() {}
Submit a pull request starting with the following format:
deprecation(<package>): <symbol>
Use a test name that includes the symbol in question and the test criteria, in plain language, as follows:
Symbols and modules are documented using the JSDoc syntax. It should be written in the same style as the MDN Web Docs.
Documentation for public symbols should contain:
@param
tags for each parameter and a
@returns
tag, if the symbol is a
function.@example
tag and a title. The code is
reproducible when copied and pasted as a script.See the source code within
std/datetime
for
examples.
Module files, or mod.ts
files, should have the following:
@example
tag).@module
to denote module documentation.See the source code for
std/datetime/mod.ts
as an example.
Version Info