From 8354720432b5e2bb8d4ffb6beab42d43047e8ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gautier=20Ben=20A=C3=AFm?= Date: Wed, 3 Sep 2025 15:24:49 +0200 Subject: [PATCH 1/2] docs: some more typos --- docs/1-getting-started/3-the-about-us-page/README.md | 6 ++++-- .../1-getting-started/5-view-content-in-full-page/README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/1-getting-started/3-the-about-us-page/README.md b/docs/1-getting-started/3-the-about-us-page/README.md index d1a35b34..3300205e 100644 --- a/docs/1-getting-started/3-the-about-us-page/README.md +++ b/docs/1-getting-started/3-the-about-us-page/README.md @@ -99,8 +99,10 @@ In `Header/default.server.tsx`, replace the current ` This additional property, `view`, defines the view that should be used when Jahia renders the `heroSection` component. We haven't created the `small` view yet, if you refresh your page right now you will see an error message instead: -> No rendering set for node: herosection
-> Types: [hydrogen:heroSection] +``` +No rendering set for node: herosection +Types: [hydrogen:heroSection] +``` Start by adding a file named `src/components/Hero/Section/types.ts` and move `Props` to it: diff --git a/docs/1-getting-started/5-view-content-in-full-page/README.md b/docs/1-getting-started/5-view-content-in-full-page/README.md index 4f067ddb..415a04c3 100644 --- a/docs/1-getting-started/5-view-content-in-full-page/README.md +++ b/docs/1-getting-started/5-view-content-in-full-page/README.md @@ -148,4 +148,4 @@ In JCR, everything is a node, i.e. an entity of a tree designated by a path. The There is a lot more to learn about URL building and JCR exploration, and it's the topic of the next section. -Next: [Building a Navigation Bar](building-a-nav-bar) +Next: [Building a Navigation Bar](building-a-navigation-bar) From 346b23bea085658a44b6cecb7fbf85e4cc83d1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gautier=20Ben=20A=C3=AFm?= Date: Wed, 3 Sep 2025 15:26:01 +0200 Subject: [PATCH 2/2] oops --- docs/1-getting-started/2-making-a-hero-section/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/1-getting-started/2-making-a-hero-section/README.md b/docs/1-getting-started/2-making-a-hero-section/README.md index a89461d3..9ffd6077 100644 --- a/docs/1-getting-started/2-making-a-hero-section/README.md +++ b/docs/1-getting-started/2-making-a-hero-section/README.md @@ -62,8 +62,10 @@ _Picture by [Appolinary Kalashnikova](https://unsplash.com/@appolinary_kalashnik Click **Save** and see the new hero section in the content tree: -> No rendering set for node: herosection
-> Types: [hydrogen:heroSection] +``` +No rendering set for node: herosection +Types: [hydrogen:heroSection] +``` This error message means that Jahia doesn't know how to render the `heroSection` node type: we haven't implemented the rendering logic yet. We'll do that next.