From 352a0f8d24f04ce01907ce51b79eef627aace70b Mon Sep 17 00:00:00 2001 From: Jo Franchetti Date: Fri, 5 Jul 2024 15:51:49 +0100 Subject: [PATCH] move private repos docs to advanced and further down the menu and add disambiguation to top of each file --- runtime/_data.ts | 2 +- .../{basics/modules => advanced}/private_repositories.md | 3 +++ runtime/manual/node/private_registries.md | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) rename runtime/manual/{basics/modules => advanced}/private_repositories.md (97%) diff --git a/runtime/_data.ts b/runtime/_data.ts index 97deb7124..1a85f6991 100644 --- a/runtime/_data.ts +++ b/runtime/_data.ts @@ -37,11 +37,11 @@ export const sidebar = [ items: [ "/runtime/manual/basics/modules/", "/runtime/manual/basics/modules/reloading_modules/", - "/runtime/manual/basics/modules/private_repositories/", "/runtime/manual/basics/modules/proxies/", "/runtime/manual/basics/modules/integrity_checking/", "/runtime/manual/advanced/publishing/", "/runtime/manual/advanced/publishing/dnt/", + "/runtime/manual/advanced/modules/private_repositories/", ], }, { diff --git a/runtime/manual/basics/modules/private_repositories.md b/runtime/manual/advanced/private_repositories.md similarity index 97% rename from runtime/manual/basics/modules/private_repositories.md rename to runtime/manual/advanced/private_repositories.md index 61626d9c3..ba2ec9c20 100644 --- a/runtime/manual/basics/modules/private_repositories.md +++ b/runtime/manual/advanced/private_repositories.md @@ -2,6 +2,9 @@ title: "Private Modules and Repositories" --- +> [!NOTE] Not to be confused with +> [private npm registries](/runtime/manual/node/private_registries/). + There may be instances where you want to load a remote module that is located in a _private_ repository, like a private repository on GitHub. diff --git a/runtime/manual/node/private_registries.md b/runtime/manual/node/private_registries.md index a40e25f06..2f5d65af5 100644 --- a/runtime/manual/node/private_registries.md +++ b/runtime/manual/node/private_registries.md @@ -2,6 +2,9 @@ title: "Private NPM Registries" --- +> [!NOTE] Not to be confused with +> [private repositories and modules](/runtime/manual/advanced/modules/private_repositories/). + Deno supports private registries, which allow you to host and share your own modules. This is useful for organizations that want to keep their code private or for individuals who want to share their code with a select group of people.