From c422a01e1564d25148c821ee257196ebe60e8e6c Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 23 Oct 2023 11:02:08 -0700 Subject: [PATCH] docs: use markdown links instead of html This does lose the _target information associated with the links but that should be left to the markdown generator generally. In this case the npm/documentation repo will decide based on the href whether to apply any target or rel attributes to the links. --- docs/lib/content/commands/npm-audit.md | 4 ++-- docs/lib/content/commands/npm-team.md | 2 +- docs/lib/content/commands/npm-unpublish.md | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/lib/content/commands/npm-audit.md b/docs/lib/content/commands/npm-audit.md index 085b7b2ea5613..467088f3a5d7c 100644 --- a/docs/lib/content/commands/npm-audit.md +++ b/docs/lib/content/commands/npm-audit.md @@ -81,13 +81,13 @@ The `sig` is generated using the following template: `${package.name}@${package. Keys response: -- `expires`: null or a simplified extended ISO 8601 format: `YYYY-MM-DDTHH:mm:ss.sssZ` +- `expires`: null or a simplified extended [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601"): `YYYY-MM-DDTHH:mm:ss.sssZ` - `keydid`: sha256 fingerprint of the public key - `keytype`: only `ecdsa-sha2-nistp256` is currently supported by the npm CLI - `scheme`: only `ecdsa-sha2-nistp256` is currently supported by the npm CLI - `key`: base64 encoded public key -See this example key's response from the public npm registry. +See this [example key's response from the public npm registry](https://registry.npmjs.org/-/npm/v1/keys"). ### Audit Endpoints diff --git a/docs/lib/content/commands/npm-team.md b/docs/lib/content/commands/npm-team.md index 435a56ca02727..d3b7ca58fe2af 100644 --- a/docs/lib/content/commands/npm-team.md +++ b/docs/lib/content/commands/npm-team.md @@ -25,7 +25,7 @@ on your `authtype`. * create / destroy: Create a new team, or destroy an existing one. Note: You cannot remove the - `developers` team, learn more. + `developers` team, [learn more.](https://docs.npmjs.com/about-developers-team) Here's how to create a new team `newteam` under the `org` org: diff --git a/docs/lib/content/commands/npm-unpublish.md b/docs/lib/content/commands/npm-unpublish.md index 76f4cd00bf061..82c4424c90d38 100644 --- a/docs/lib/content/commands/npm-unpublish.md +++ b/docs/lib/content/commands/npm-unpublish.md @@ -8,9 +8,8 @@ description: Remove a package from the registry -To learn more about how the npm registry treats unpublish, see our unpublish policies +To learn more about how the npm registry treats unpublish, see our +[unpublish policies](https://docs.npmjs.com/policies/unpublish). ### Warning