From 22717322d3c55b2d0230037ea8e9fde4da9a3476 Mon Sep 17 00:00:00 2001 From: wess Date: Fri, 26 Jan 2024 11:05:50 -0500 Subject: [PATCH 1/2] Adds link rel for canonical to models and references --- .../references/[version]/[platform]/[service]/+page.svelte | 5 +++++ .../docs/references/[version]/models/[model]/+page.svelte | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte b/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte index f69f2eb634..21eb5d793a 100644 --- a/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte +++ b/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte @@ -89,6 +89,11 @@ + + {#if $page.params.version !== 'cloud'} + + {/if} +
diff --git a/src/routes/docs/references/[version]/models/[model]/+page.svelte b/src/routes/docs/references/[version]/models/[model]/+page.svelte index 83e3038cd7..314dee3f45 100644 --- a/src/routes/docs/references/[version]/models/[model]/+page.svelte +++ b/src/routes/docs/references/[version]/models/[model]/+page.svelte @@ -1,10 +1,17 @@ + + {#if $page.params.version !== 'cloud'} + + {/if} + +
Properties From bdeff837a5724c74fbe78b5bc7e77d125e2aee0b Mon Sep 17 00:00:00 2001 From: wess Date: Mon, 29 Jan 2024 12:08:59 -0500 Subject: [PATCH 2/2] Updates PR for correct rel property --- .../docs/references/[version]/[platform]/[service]/+page.svelte | 2 +- .../docs/references/[version]/models/[model]/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte b/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte index 21eb5d793a..d9d7b10a1c 100644 --- a/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte +++ b/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte @@ -91,7 +91,7 @@ {#if $page.params.version !== 'cloud'} - + {/if} diff --git a/src/routes/docs/references/[version]/models/[model]/+page.svelte b/src/routes/docs/references/[version]/models/[model]/+page.svelte index 314dee3f45..e0ff464c58 100644 --- a/src/routes/docs/references/[version]/models/[model]/+page.svelte +++ b/src/routes/docs/references/[version]/models/[model]/+page.svelte @@ -8,7 +8,7 @@ {#if $page.params.version !== 'cloud'} - + {/if}