Skip to content

Commit 2768d19

Browse files
author
Donna-Marie Smith
committed
added functionality to mark pages as out of support
1 parent 6359826 commit 2768d19

File tree

12 files changed

+36
-22
lines changed

12 files changed

+36
-22
lines changed

content/en/docs/2022.9/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2022.9"
33
linkTitle: "2022.9"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 1000
6+
outOfSupport: true
67
---

content/en/docs/2023.11/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2023.11"
33
linkTitle: "2023.11"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 995
6+
outOfSupport: true
67
---

content/en/docs/2023.3/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2023.3"
33
linkTitle: "2023.3"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 999
6+
outOfSupport: true
67
---

content/en/docs/2023.5/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2023.5"
33
linkTitle: "2023.5"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 998
6+
outOfSupport: true
67
---

content/en/docs/2023.7/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2023.7"
33
linkTitle: "2023.7"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 997
6+
outOfSupport: true
67
---

content/en/docs/2023.9/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2023.9"
33
linkTitle: "2023.9"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 996
6+
outOfSupport: true
67
---

content/en/docs/2024.3/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2024.3"
33
linkTitle: "2024.3"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 993
6+
outOfSupport: true
67
---

content/en/docs/2024.5/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2024.5"
33
linkTitle: "2024.5"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 992
6+
outOfSupport: true
67
---

content/en/docs/2024.7/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ title: "2024.7"
33
linkTitle: "2024.7"
44
description: "Product documentation for the {{% ctx %}} automation platform, including guides, tutorials and reference documentation."
55
weight: 991
6+
outOfSupport: true
67
---

createLatest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$Path = ".\config\_default\config.toml"
22
$latestName = "latest"
33

4-
$LatestVersion = (Select-String -Path $Path -Pattern "latest = true" -Context 3, 0) -split "`""
4+
$LatestVersion = (Select-String -Path $Path -Pattern "latest = true" -Context 4, 0) -split "`""
55

66
# Use $LatestVersion[1] as we know that the version is the first line returned and splitting on " makes it the 2nd index
77
$Version = $LatestVersion[1]

0 commit comments

Comments
 (0)