From 9c15a33b36a45d7eb179394b417f921ad8f060bc Mon Sep 17 00:00:00 2001 From: Mwelwa Nkuta Date: Fri, 19 Jan 2024 13:13:49 +0200 Subject: [PATCH] docs(learn): Migrate 'Anatomy of an http transaction' guide to learn section (#6226) --- i18n/locales/en.json | 3 ++- navigation.json | 4 ++++ pages/en/guides/index.md | 1 - .../modules}/anatomy-of-an-http-transaction.md | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) rename pages/en/{guides => learn/modules}/anatomy-of-an-http-transaction.md (99%) diff --git a/i18n/locales/en.json b/i18n/locales/en.json index 4a98b48a82487..1fb6cab852900 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -78,7 +78,8 @@ "modules": { "links": { "modules": "Modules", - "publishingNodeApiModules": "How to publish a Node-API package" + "publishingNodeApiModules": "How to publish a Node-API package", + "anatomyOfAnHttpTransaction": "Anatomy of an HTTP Transaction" } } }, diff --git a/navigation.json b/navigation.json index 54017f49e8119..25141b733af68 100644 --- a/navigation.json +++ b/navigation.json @@ -212,6 +212,10 @@ "publishingNodeApiModules": { "link": "/learn/modules/publishing-node-api-modules", "label": "components.navigation.learn.modules.links.publishingNodeApiModules" + }, + "anatomyOfAnHttpTransaction": { + "link": "/learn/modules/anatomy-of-an-http-transaction", + "label": "components.navigation.learn.modules.links.anatomyOfAnHttpTransaction" } } } diff --git a/pages/en/guides/index.md b/pages/en/guides/index.md index 615f34caef7b9..a1e004075ccff 100644 --- a/pages/en/guides/index.md +++ b/pages/en/guides/index.md @@ -22,7 +22,6 @@ layout: docs.hbs ## Module-related guides -- [Anatomy of an HTTP Transaction](/guides/anatomy-of-an-http-transaction/) - [Working with Different Filesystems](/guides/working-with-different-filesystems/) - [Backpressuring in Streams](/guides/backpressuring-in-streams/) - [ABI Stability](/guides/abi-stability/) diff --git a/pages/en/guides/anatomy-of-an-http-transaction.md b/pages/en/learn/modules/anatomy-of-an-http-transaction.md similarity index 99% rename from pages/en/guides/anatomy-of-an-http-transaction.md rename to pages/en/learn/modules/anatomy-of-an-http-transaction.md index a701c6d0537a3..3ce8d59e13908 100644 --- a/pages/en/guides/anatomy-of-an-http-transaction.md +++ b/pages/en/learn/modules/anatomy-of-an-http-transaction.md @@ -1,6 +1,6 @@ --- title: Anatomy of an HTTP Transaction -layout: docs.hbs +layout: learn.hbs --- # Anatomy of an HTTP Transaction