updated index policy page and fixed url

Demira Dimitrova committed Jul 19, 2021 at 10:15 UTC 215f16c340127cb6a44d5cb9d00f79ca71d59e90
4 files changed +6 -8
content/packages-and-modules/updating-and-managing-your-published-packages/unpublishing-packages-from-the-registry.mdx
+2 -1
@@ -5,7 +5,7 @@ import shared from '../../../src/shared.js'
5
6 ## How to unpublish
7
8 -As a package owner or collaborator, if your package has no dependents, you can permanently remove it from the npm registry by using the CLI. You can [unpublish](https://docs.npmjs.com/cli/v7/commands/npm-unpublish) within 72 hours of the initial publish. Beyond 72 hours, you can still unpublish your package if [it meets certain criteria](https://www.npmjs.com/policies/unpublish).
8 +As a package owner or collaborator, if your package has no dependents, you can permanently remove it from the npm registry by using the CLI. You can [unpublish][unpublish-cli] within 72 hours of the initial publish. Beyond 72 hours, you can still unpublish your package if [it meets certain criteria][unpublish].
9
10 <Note>
11
@@ -66,3 +66,4 @@ If you are no longer interested in maintaining a package, but want it to remain
66 [deprecate-package]: deprecating-and-undeprecating-packages-or-package-versions
67 [two-factor-auth]: about-two-factor-authentication
68 [unpublish]: /policies/unpublish
69 +[unpublish-cli]: /cli/unpublish
content/policies/index.mdx
+4 -3
@@ -1,8 +1,9 @@
1 ---
2 -policies
2 +title: Policies
3 ---
4
5 -These are updated from time to time. Their sources are stored in a git
6 -repository at [https://github.com/npm/documentation/content/policies](https://github.com/npm/documentation/content/policies).
5 +These are the legal policies of npm, Inc.
6
7 <Index />
8 +
9 +These are updated from time to time. Their sources are stored in a git repository at [https://github.com/npm/documentation/tree/main/content/policies](https://github.com/npm/documentation/tree/main/content/policies).
src/gatsby-theme-doctornpm/nav.yml
-2
@@ -309,8 +309,6 @@
309 url: /policies/privacy
310 - title: Unpublish Policy
311 url: /policies/unpublish
312 - - title: Receiving Abuse Reports
313 - url: /policies/receiving-reports
312 - title: Copyright and DMCA Policy
313 url: /policies/dmca
314 - title: Trademark Policy
src/nav-base.yml
-2
@@ -311,8 +311,6 @@
311 url: /policies/privacy
312 - title: Unpublish Policy
313 url: /policies/unpublish
314 - - title: Receiving Abuse Reports
315 - url: /policies/receiving-reports
314 - title: Copyright and DMCA Policy
315 url: /policies/dmca
316 - title: Trademark Policy