From 3da418dc2f5df173ee277f6a14f0d664bb9fa8c0 Mon Sep 17 00:00:00 2001 From: Joe Dibley Date: Wed, 25 Jun 2025 15:07:14 +0100 Subject: [PATCH] Update docs to be in 3.3 folder to allow for multi version docs --- docs/pingcastle/{ => 3.3}/basicuser.md | 4 +- .../pingcastle/{ => 3.3}/enterpriseinstall.md | 4 +- .../pingcastle/{ => 3.3}/enterpriseupgrade.md | 4 +- docs/pingcastle/{ => 3.3}/enterpriseuser.md | 4 +- docs/pingcastle/{ => 3.3}/index.md | 0 docs/pingcastle/{ => 3.3}/proinstall.md | 4 +- docs/pingcastle/{ => 3.3}/proupgrade.md | 4 +- docs/pingcastle/{ => 3.3}/prouser.md | 4 +- sidebars/pingcastle.js | 13 ----- sidebars/pingcastle/3.3.js | 56 +++++++++++++++++++ src/config/products.js | 7 ++- 11 files changed, 81 insertions(+), 23 deletions(-) rename docs/pingcastle/{ => 3.3}/basicuser.md (99%) rename docs/pingcastle/{ => 3.3}/enterpriseinstall.md (99%) rename docs/pingcastle/{ => 3.3}/enterpriseupgrade.md (96%) rename docs/pingcastle/{ => 3.3}/enterpriseuser.md (99%) rename docs/pingcastle/{ => 3.3}/index.md (100%) rename docs/pingcastle/{ => 3.3}/proinstall.md (99%) rename docs/pingcastle/{ => 3.3}/proupgrade.md (92%) rename docs/pingcastle/{ => 3.3}/prouser.md (99%) delete mode 100644 sidebars/pingcastle.js create mode 100644 sidebars/pingcastle/3.3.js diff --git a/docs/pingcastle/basicuser.md b/docs/pingcastle/3.3/basicuser.md similarity index 99% rename from docs/pingcastle/basicuser.md rename to docs/pingcastle/3.3/basicuser.md index dace4793c9..d3294fa625 100644 --- a/docs/pingcastle/basicuser.md +++ b/docs/pingcastle/3.3/basicuser.md @@ -1,4 +1,6 @@ -# About PingCastle +# PingCastle Standard and Basic User Guide + +## About PingCastle "For CISO, by CISO" diff --git a/docs/pingcastle/enterpriseinstall.md b/docs/pingcastle/3.3/enterpriseinstall.md similarity index 99% rename from docs/pingcastle/enterpriseinstall.md rename to docs/pingcastle/3.3/enterpriseinstall.md index ac31480258..bc5ee23fa2 100644 --- a/docs/pingcastle/enterpriseinstall.md +++ b/docs/pingcastle/3.3/enterpriseinstall.md @@ -1,4 +1,6 @@ -# Description +# PingCastle Enterprise Installation and Configuration + +## Description PingCastle Enterprise is a tool designed to improve and follow the Active Directory overall security level. This software has been diff --git a/docs/pingcastle/enterpriseupgrade.md b/docs/pingcastle/3.3/enterpriseupgrade.md similarity index 96% rename from docs/pingcastle/enterpriseupgrade.md rename to docs/pingcastle/3.3/enterpriseupgrade.md index 41d4ade81e..e573980e41 100644 --- a/docs/pingcastle/enterpriseupgrade.md +++ b/docs/pingcastle/3.3/enterpriseupgrade.md @@ -1,4 +1,6 @@ -# Before proceeding to the upgrade +# PingCastle Enterprise Upgrade Guide + +## Before proceeding to the upgrade Version check diff --git a/docs/pingcastle/enterpriseuser.md b/docs/pingcastle/3.3/enterpriseuser.md similarity index 99% rename from docs/pingcastle/enterpriseuser.md rename to docs/pingcastle/3.3/enterpriseuser.md index c8e489f67d..bb087db8aa 100644 --- a/docs/pingcastle/enterpriseuser.md +++ b/docs/pingcastle/3.3/enterpriseuser.md @@ -1,4 +1,6 @@ -# Description +# PingCastle Enterprise User Manual + +## Description PingCastle Enterprise is a tool designed to improve and follow the Active Directory overall security level. This software has been diff --git a/docs/pingcastle/index.md b/docs/pingcastle/3.3/index.md similarity index 100% rename from docs/pingcastle/index.md rename to docs/pingcastle/3.3/index.md diff --git a/docs/pingcastle/proinstall.md b/docs/pingcastle/3.3/proinstall.md similarity index 99% rename from docs/pingcastle/proinstall.md rename to docs/pingcastle/3.3/proinstall.md index a83ac4139c..d7f6b99f35 100644 --- a/docs/pingcastle/proinstall.md +++ b/docs/pingcastle/3.3/proinstall.md @@ -1,4 +1,6 @@ -# Description +# PingCastle Pro Installation and Configuration + +## Description PingCastle Pro is a tool designed to improve and follow the Active Directory overall security level. This software has been developed to be diff --git a/docs/pingcastle/proupgrade.md b/docs/pingcastle/3.3/proupgrade.md similarity index 92% rename from docs/pingcastle/proupgrade.md rename to docs/pingcastle/3.3/proupgrade.md index 18b009d87b..c300171a09 100644 --- a/docs/pingcastle/proupgrade.md +++ b/docs/pingcastle/3.3/proupgrade.md @@ -1,4 +1,6 @@ -# Before proceeding to the upgrade +# PingCastle Pro Upgrade Guide + +## Before proceeding to the upgrade Version check diff --git a/docs/pingcastle/prouser.md b/docs/pingcastle/3.3/prouser.md similarity index 99% rename from docs/pingcastle/prouser.md rename to docs/pingcastle/3.3/prouser.md index 9f83861418..16a09535e5 100644 --- a/docs/pingcastle/prouser.md +++ b/docs/pingcastle/3.3/prouser.md @@ -1,4 +1,6 @@ -# Description +# PingCastle Pro User Manual + +## Description PingCastle Pro is a tool designed to improve and follow the Active Directory overall security level. This software has been developed to be diff --git a/sidebars/pingcastle.js b/sidebars/pingcastle.js deleted file mode 100644 index 72e7cc6537..0000000000 --- a/sidebars/pingcastle.js +++ /dev/null @@ -1,13 +0,0 @@ -// @ts-check - -/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ -const pingcastleSidebar = { - sidebar: [ - { - type: 'autogenerated', - dirName: '.', - }, - ], -}; - -export default pingcastleSidebar; diff --git a/sidebars/pingcastle/3.3.js b/sidebars/pingcastle/3.3.js new file mode 100644 index 0000000000..271dce8dce --- /dev/null +++ b/sidebars/pingcastle/3.3.js @@ -0,0 +1,56 @@ +/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ +module.exports = { + pingcastle33: [ + { + type: 'doc', + id: 'index', + }, + { + type: 'doc', + id: 'basicuser', + label: 'PingCastle Standard', + }, + { + type: 'category', + label: 'PingCastle Pro', + items: [ + { + type: 'doc', + id: 'prouser', + label: 'User Manual', + }, + { + type: 'doc', + id: 'proinstall', + label: 'Installation and Configuration', + }, + { + type: 'doc', + id: 'proupgrade', + label: 'Upgrade', + }, + ], + }, + { + type: 'category', + label: 'PingCastle Enterprise', + items: [ + { + type: 'doc', + id: 'enterpriseuser', + label: 'User Manual', + }, + { + type: 'doc', + id: 'enterpriseinstall', + label: 'Installation and Configuration', + }, + { + type: 'doc', + id: 'enterpriseupgrade', + label: 'Upgrade', + }, + ], + }, + ], +}; diff --git a/src/config/products.js b/src/config/products.js index 917b84e2e1..7df989c777 100644 --- a/src/config/products.js +++ b/src/config/products.js @@ -359,12 +359,13 @@ export const PRODUCTS = [ icon: '', versions: [ { - version: 'current', - label: 'Current', + version: '3.3', + label: '3.3', isLatest: true, - sidebarFile: './sidebars/pingcastle.js', + sidebarFile: './sidebars/pingcastle/3.3.js', }, ], + defaultVersion: '3.3', }, { id: 'platgovnetsuite',