From 980487f587eef62562e3287b472e40613ee77088 Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Mon, 11 May 2026 18:57:30 +0300 Subject: [PATCH 1/9] docs: improve related docs links in pinning models page Signed-off-by: Nafisa Tahasin --- .../basics/pinning-models-to-dock.md | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/content/en/videos/getting-started/basics/pinning-models-to-dock.md b/content/en/videos/getting-started/basics/pinning-models-to-dock.md index 35b9d818082..79a99323ebe 100644 --- a/content/en/videos/getting-started/basics/pinning-models-to-dock.md +++ b/content/en/videos/getting-started/basics/pinning-models-to-dock.md @@ -1,27 +1,37 @@ --- -title: "Pinning Models to Dock" +title: 'Pinning Models to Dock' description: > - Pinning models to the dock allows you to quickly access your most used models. This is a great way to keep your workspace organized and efficient. -videoId: "8lQ6ed_1Tss" -videoType: youtube + Pinning models to the dock allows you to quickly access your most used models. + This is a great way to keep your workspace organized and efficient. +videoId: '8lQ6ed_1Tss' +videoType: youtube categories: [Designer] formats: [video] tags: [Dock, Pin, Models, designer] -duration: "0:57" +duration: '0:57' --- {{< youtube id=8lQ6ed_1Tss class="yt-embed-container" >}} **Transcript:** -Five has found that he frequently references the same set of models while designing. If you know that you’ll be using components from a model frequently, you can pin that model for easy retrieval of its components. -To pin a model to the dock in Layer5 Kanvas, click the pin icon next to the model. The model will now be accessible in the dock for quick use. +Five has found that he frequently references the same set of models while +designing. If you know that you’ll be using components from a model frequently, +you can pin that model for easy retrieval of its components. To pin a model to +the dock in Layer5 Kanvas, click the pin icon next to the model. The model will +now be accessible in the dock for quick use. There is no limit to the number of models that you can pin to the dock. -When a model is pinned you can still browse all components or search for a specific component. Drag and drop or click to place a new component into your design. +When a model is pinned you can still browse all components or search for a +specific component. Drag and drop or click to place a new component into your +design. -When you no longer want a model pinned to the dock, you can remove the pin by revisiting the model in its original location and choosing to “remove from dock”. +When you no longer want a model pinned to the dock, you can remove the pin by +revisiting the model in its original location and choosing to “remove from +dock”. -Related Docs: -1. https://docs.layer5.io/kanvas/designer/understanding-tool-modes/ +### Related Docs + +- [Understanding Tool Modes](https://docs.layer5.io/kanvas/designer/understanding-tool-modes/) +- [Pin Model to Dock](https://docs.layer5.io/kanvas/designer/pin-model-to-dock/) From a9d72b470a0bb6bf3d8d880f6c44029c84c7a01f Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Thu, 14 May 2026 20:56:52 +0300 Subject: [PATCH 2/9] docs: render related docs through partial Signed-off-by: Nafisa Tahasin --- .../basics/pinning-models-to-dock.md | 33 +++++++------------ layouts/partials/related-docs.html | 13 ++++++++ layouts/video/single.html | 1 + 3 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 layouts/partials/related-docs.html diff --git a/content/en/videos/getting-started/basics/pinning-models-to-dock.md b/content/en/videos/getting-started/basics/pinning-models-to-dock.md index 79a99323ebe..3ca8a5e6a93 100644 --- a/content/en/videos/getting-started/basics/pinning-models-to-dock.md +++ b/content/en/videos/getting-started/basics/pinning-models-to-dock.md @@ -1,37 +1,28 @@ --- -title: 'Pinning Models to Dock' +title: "Pinning Models to Dock" description: > - Pinning models to the dock allows you to quickly access your most used models. - This is a great way to keep your workspace organized and efficient. -videoId: '8lQ6ed_1Tss' -videoType: youtube + Pinning models to the dock allows you to quickly access your most used models. This is a great way to keep your workspace organized and efficient. +videoId: "8lQ6ed_1Tss" +videoType: youtube categories: [Designer] formats: [video] tags: [Dock, Pin, Models, designer] -duration: '0:57' +duration: "0:57" +relatedDocs: + - /kanvas/designer/understanding-tool-modes/ + - /kanvas/designer/pin-model-to-dock/ --- {{< youtube id=8lQ6ed_1Tss class="yt-embed-container" >}} **Transcript:** -Five has found that he frequently references the same set of models while -designing. If you know that you’ll be using components from a model frequently, -you can pin that model for easy retrieval of its components. To pin a model to -the dock in Layer5 Kanvas, click the pin icon next to the model. The model will -now be accessible in the dock for quick use. +Five has found that he frequently references the same set of models while designing. If you know that you’ll be using components from a model frequently, you can pin that model for easy retrieval of its components. +To pin a model to the dock in Layer5 Kanvas, click the pin icon next to the model. The model will now be accessible in the dock for quick use. There is no limit to the number of models that you can pin to the dock. -When a model is pinned you can still browse all components or search for a -specific component. Drag and drop or click to place a new component into your -design. +When a model is pinned you can still browse all components or search for a specific component. Drag and drop or click to place a new component into your design. -When you no longer want a model pinned to the dock, you can remove the pin by -revisiting the model in its original location and choosing to “remove from -dock”. +When you no longer want a model pinned to the dock, you can remove the pin by revisiting the model in its original location and choosing to “remove from dock”. -### Related Docs - -- [Understanding Tool Modes](https://docs.layer5.io/kanvas/designer/understanding-tool-modes/) -- [Pin Model to Dock](https://docs.layer5.io/kanvas/designer/pin-model-to-dock/) diff --git a/layouts/partials/related-docs.html b/layouts/partials/related-docs.html new file mode 100644 index 00000000000..c12119e7ca9 --- /dev/null +++ b/layouts/partials/related-docs.html @@ -0,0 +1,13 @@ +{{ with .Params.relatedDocs }} + +{{ end }} diff --git a/layouts/video/single.html b/layouts/video/single.html index b8ae29bbd35..e0fdf544eef 100644 --- a/layouts/video/single.html +++ b/layouts/video/single.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ partial "feature-info.html" . }} {{ .Render "content" }} +{{ partial "related-docs.html" . }}
{{ partial "recent-discussions.html" . }}
From 68b25a69203ddae6e5aaea40bc26fda6e70aa8f2 Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sat, 13 Jun 2026 22:08:03 +0300 Subject: [PATCH 3/9] chore: retrigger preview deployment Signed-off-by: Nafisa Tahasin From e64b9451b3811d3b379a03935ddb254abd2a1f97 Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sat, 13 Jun 2026 22:14:05 +0300 Subject: [PATCH 4/9] chore: retrigger preview deployment Signed-off-by: Nafisa Tahasin From e03fb55e631f92cdb55cb4da2bf3f0ab0daf0935 Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sat, 13 Jun 2026 22:54:31 +0300 Subject: [PATCH 5/9] docs: adjust related docs placement Signed-off-by: Nafisa Tahasin --- .../videos/getting-started/basics/pinning-models-to-dock.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/videos/getting-started/basics/pinning-models-to-dock.md b/content/en/videos/getting-started/basics/pinning-models-to-dock.md index 3ca8a5e6a93..e4b57cbc064 100644 --- a/content/en/videos/getting-started/basics/pinning-models-to-dock.md +++ b/content/en/videos/getting-started/basics/pinning-models-to-dock.md @@ -8,9 +8,6 @@ categories: [Designer] formats: [video] tags: [Dock, Pin, Models, designer] duration: "0:57" -relatedDocs: - - /kanvas/designer/understanding-tool-modes/ - - /kanvas/designer/pin-model-to-dock/ --- {{< youtube id=8lQ6ed_1Tss class="yt-embed-container" >}} @@ -26,3 +23,6 @@ When a model is pinned you can still browse all components or search for a speci When you no longer want a model pinned to the dock, you can remove the pin by revisiting the model in its original location and choosing to “remove from dock”. +## Related Docs +- [Pinning Models to the Dock]({{< ref "kanvas/designer/pin-model-to-dock/index.md" >}}) +- [Understanding Tool Modes]({{< ref "kanvas/designer/understanding-tool-modes/index.md" >}}) \ No newline at end of file From a09815e8628c7c33d7ed34211f58d8ae67373669 Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sat, 13 Jun 2026 23:04:08 +0300 Subject: [PATCH 6/9] docs: adjust related docs heading size Signed-off-by: Nafisa Tahasin --- .../en/videos/getting-started/basics/pinning-models-to-dock.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/videos/getting-started/basics/pinning-models-to-dock.md b/content/en/videos/getting-started/basics/pinning-models-to-dock.md index e4b57cbc064..bbfa4828d61 100644 --- a/content/en/videos/getting-started/basics/pinning-models-to-dock.md +++ b/content/en/videos/getting-started/basics/pinning-models-to-dock.md @@ -23,6 +23,6 @@ When a model is pinned you can still browse all components or search for a speci When you no longer want a model pinned to the dock, you can remove the pin by revisiting the model in its original location and choosing to “remove from dock”. -## Related Docs + Related Docs: - [Pinning Models to the Dock]({{< ref "kanvas/designer/pin-model-to-dock/index.md" >}}) - [Understanding Tool Modes]({{< ref "kanvas/designer/understanding-tool-modes/index.md" >}}) \ No newline at end of file From 9e3d6cbbda86ddd81ca2bdcb5251a6ef7d869be2 Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sun, 14 Jun 2026 12:25:55 +0300 Subject: [PATCH 7/9] docs: use related docs partial for pinning models page Signed-off-by: Nafisa Tahasin --- .../getting-started/basics/pinning-models-to-dock.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/content/en/videos/getting-started/basics/pinning-models-to-dock.md b/content/en/videos/getting-started/basics/pinning-models-to-dock.md index bbfa4828d61..e1eada73fc5 100644 --- a/content/en/videos/getting-started/basics/pinning-models-to-dock.md +++ b/content/en/videos/getting-started/basics/pinning-models-to-dock.md @@ -8,6 +8,11 @@ categories: [Designer] formats: [video] tags: [Dock, Pin, Models, designer] duration: "0:57" +relatedDocs: + - title: "Pinning Models to the Dock" + ref: "kanvas/designer/pin-model-to-dock/index.md" + - title: "Understanding Tool Modes" + ref: "kanvas/designer/understanding-tool-modes/index.md" --- {{< youtube id=8lQ6ed_1Tss class="yt-embed-container" >}} @@ -23,6 +28,4 @@ When a model is pinned you can still browse all components or search for a speci When you no longer want a model pinned to the dock, you can remove the pin by revisiting the model in its original location and choosing to “remove from dock”. - Related Docs: -- [Pinning Models to the Dock]({{< ref "kanvas/designer/pin-model-to-dock/index.md" >}}) -- [Understanding Tool Modes]({{< ref "kanvas/designer/understanding-tool-modes/index.md" >}}) \ No newline at end of file +{{< relatedDocs >}} \ No newline at end of file From b9c27d61ed02ea665ef0e0f7797d59866b1c897f Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sun, 14 Jun 2026 13:28:39 +0300 Subject: [PATCH 8/9] docs: render related docs through reusable partial Signed-off-by: Nafisa Tahasin --- .../getting-started/basics/pinning-models-to-dock.md | 8 ++------ layouts/shortcodes/relatedDocs.html | 1 + 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 layouts/shortcodes/relatedDocs.html diff --git a/content/en/videos/getting-started/basics/pinning-models-to-dock.md b/content/en/videos/getting-started/basics/pinning-models-to-dock.md index e1eada73fc5..0051edf3a4e 100644 --- a/content/en/videos/getting-started/basics/pinning-models-to-dock.md +++ b/content/en/videos/getting-started/basics/pinning-models-to-dock.md @@ -9,10 +9,8 @@ formats: [video] tags: [Dock, Pin, Models, designer] duration: "0:57" relatedDocs: - - title: "Pinning Models to the Dock" - ref: "kanvas/designer/pin-model-to-dock/index.md" - - title: "Understanding Tool Modes" - ref: "kanvas/designer/understanding-tool-modes/index.md" + - kanvas/designer/pin-model-to-dock + - kanvas/designer/understanding-tool-modes --- {{< youtube id=8lQ6ed_1Tss class="yt-embed-container" >}} @@ -27,5 +25,3 @@ There is no limit to the number of models that you can pin to the dock. When a model is pinned you can still browse all components or search for a specific component. Drag and drop or click to place a new component into your design. When you no longer want a model pinned to the dock, you can remove the pin by revisiting the model in its original location and choosing to “remove from dock”. - -{{< relatedDocs >}} \ No newline at end of file diff --git a/layouts/shortcodes/relatedDocs.html b/layouts/shortcodes/relatedDocs.html new file mode 100644 index 00000000000..794c9e980be --- /dev/null +++ b/layouts/shortcodes/relatedDocs.html @@ -0,0 +1 @@ +{{ partial "related-docs.html" . }} From 4e995a38288dcbe15c9201f567a81ced41a046de Mon Sep 17 00:00:00 2001 From: Nafisa Tahasin Date: Sun, 14 Jun 2026 14:22:01 +0300 Subject: [PATCH 9/9] docs: refine related docs presentation Signed-off-by: Nafisa Tahasin --- layouts/_default/content.html | 1 + layouts/partials/related-docs.html | 6 +++--- layouts/video/single.html | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/content.html b/layouts/_default/content.html index 61144a04b55..fd64a3b7b77 100644 --- a/layouts/_default/content.html +++ b/layouts/_default/content.html @@ -11,6 +11,7 @@

{{ .Title }}

{{ partial "plan-info.html" (dict "plan" .) }} {{ end }} {{ .Content }} + {{ partial "related-docs.html" . }} {{ if (.Site.Config.Services.Disqus.Shortname) -}}
{{- partial "disqus-comment.html" . -}} diff --git a/layouts/partials/related-docs.html b/layouts/partials/related-docs.html index c12119e7ca9..0bc99b88b54 100644 --- a/layouts/partials/related-docs.html +++ b/layouts/partials/related-docs.html @@ -1,13 +1,13 @@ {{ with .Params.relatedDocs }} {{ end }} diff --git a/layouts/video/single.html b/layouts/video/single.html index e0fdf544eef..b8ae29bbd35 100644 --- a/layouts/video/single.html +++ b/layouts/video/single.html @@ -1,7 +1,6 @@ {{ define "main" }} {{ partial "feature-info.html" . }} {{ .Render "content" }} -{{ partial "related-docs.html" . }}
{{ partial "recent-discussions.html" . }}