From 1855a051f9e70ade0aece0850a639d3fd59aab14 Mon Sep 17 00:00:00 2001 From: Jo Franchetti Date: Fri, 5 Jul 2024 16:32:54 +0100 Subject: [PATCH] =?UTF-8?q?move=20private=20repos=20docs=20to=20advanced?= =?UTF-8?q?=20and=20further=20down=20the=20menu=20and=20add=E2=80=A6=20(#5?= =?UTF-8?q?35)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/_data.ts | 2 +- .../{basics/modules => advanced}/private_repositories.md | 3 +++ runtime/manual/node/private_registries.md | 3 +++ runtime/tutorials/file_server.md | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) rename runtime/manual/{basics/modules => advanced}/private_repositories.md (97%) diff --git a/runtime/_data.ts b/runtime/_data.ts index 97deb7124..40f90a7c8 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/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..ec32f2a68 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/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. diff --git a/runtime/tutorials/file_server.md b/runtime/tutorials/file_server.md index 094692c9a..b7d175f22 100644 --- a/runtime/tutorials/file_server.md +++ b/runtime/tutorials/file_server.md @@ -95,7 +95,7 @@ file_server --help Example output: -```console +```shell Deno File Server Serves a local directory in HTTP. INSTALL: