From 0d57796da34fdfb30922cece10b37ffaeea15c60 Mon Sep 17 00:00:00 2001 From: Michael Baj Date: Thu, 14 Mar 2024 18:48:31 -0400 Subject: [PATCH 1/7] Restoring juniper-docs-migration diffs --- docusaurus.config.js | 6 +++-- src/components/adobe-analytics-plugin.js | 28 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 src/components/adobe-analytics-plugin.js diff --git a/docusaurus.config.js b/docusaurus.config.js index 7fdf4a933c..647356d04b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,8 +1,10 @@ module.exports = { title: 'SSN Docs', tagline: 'The documentation source for the Session Smart Networking Platform', - url: 'https://docs.128technology.com', - baseUrl: process.env.OFFLINE_DOCS ? '/offline-docs/' : '/', + //url: 'https://docs.128technology.com', + url: 'https://uat.juniper.net', + //baseUrl: process.env.OFFLINE_DOCS ? '/offline-docs/' : '/', + baseUrl: '/documentation/us/en/software/session-smart-router/', favicon: 'img/favicon.png', organizationName: '128technology', // Usually your GitHub org/user name. projectName: 'docs', // Usually your repo name. diff --git a/src/components/adobe-analytics-plugin.js b/src/components/adobe-analytics-plugin.js new file mode 100644 index 0000000000..cd3c04eabc --- /dev/null +++ b/src/components/adobe-analytics-plugin.js @@ -0,0 +1,28 @@ +module.exports = function (context, options) { + return { + name: 'adobe-analytics-plugin', + injectHtmlTags() { + return { + headTags: [ + { + tagName: 'script', + attributes: { + type: 'text/javascript', + src: '//assets.adobedtm.com/998b2d6d4944658536fe36266a249b07e626b86d/satelliteLib-6d05b7c7a99e1cbbdcac4fcfe7005e6bee80a0e9.js', + async: true, + }, + }, + ], + postBodyTags: [ + { + tagName: 'script', + attributes: { + type: 'text/javascript', + src: '_satellite.pageBottom();', + }, + }, + ], + }; + }, + }; +}; From 9724140729eb280314d9b4f45b46daf53a7a1e90 Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 16 Apr 2026 10:09:23 -0400 Subject: [PATCH 2/7] Adding exclusion for uat.juniper.net in linkinator check --- linkinator.config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/linkinator.config.json b/linkinator.config.json index cf4d7f87ba..6d8ea38a6c 100644 --- a/linkinator.config.json +++ b/linkinator.config.json @@ -6,6 +6,7 @@ "skip": [ "^mailto:", "^https://docs\\.128technology\\.com", + "^https://uat\\.juniper\\.net", "^https://tools\\.ietf\\.org", "^https://www\\.wireguard\\.com", "^https://regexr\\.com", From ea42660a9c83b7d9b2a7c01d8d7172e97f58401e Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 16 Apr 2026 15:54:54 -0400 Subject: [PATCH 3/7] Updated build output path to match baseUrl --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 675361fd67..d09d84bec7 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "start": "docusaurus start --host 0.0.0.0", "start:offline": "OFFLINE_DOCS=1 docusaurus start --host 0.0.0.0", "serve": "docusaurus serve", - "build": "docusaurus build", + "build": "docusaurus build --out-dir build/documentation/us/en/software/session-smart-router", "build:offline": "OFFLINE_DOCS=1 docusaurus build --out-dir=offline-docs", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", From 380f1c714acdd6a5bbffc9a44113d729590629c5 Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 16 Apr 2026 18:43:18 -0400 Subject: [PATCH 4/7] Due to the baseUrl directory structure, linkinator needs to understand the same --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d09d84bec7..098d68c36b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint": "eslint --cache \"**/*.js\"", "prettier": "prettier --config .prettierrc --write \"**/*.{js,md}\"", "prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,md}\"", - "check-links": "linkinator ./build --config linkinator.config.json" + "check-links": "linkinator \"documentation/us/en/software/session-smart-router/**/*.html\" --server-root build --config linkinator.config.json" }, "dependencies": { "@docusaurus/core": "3.10.0", From 63ea40316f1c667f8bc357060b6e6eef7df8ed75 Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 16 Apr 2026 21:04:29 -0400 Subject: [PATCH 5/7] Broken links for different base urls for static images --- docs/cc_fips_conductor_install.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/cc_fips_conductor_install.mdx b/docs/cc_fips_conductor_install.mdx index a7c76e0827..ebdb91ab17 100644 --- a/docs/cc_fips_conductor_install.mdx +++ b/docs/cc_fips_conductor_install.mdx @@ -79,26 +79,26 @@ Configure the IP address that will be used to manage the network routers. 1. Select the device ethernet interface that corresponds to the management port for your Conductor and select `` -Configure the Ethernet port +Configure the Ethernet port 2. In the Edit Connection screen, configure the following: - The IP address for the port - the Gateway IP address - DNS server addresses -Edit Connection +Edit Connection 3. Scroll to the bottom of the screen and select `Automatically Connect` and `Available to All Users`, then select OK. -Edit Connection +Edit Connection 4. From the NMTUI screen, select `Set system hostname`, and ``. -Select Hostname +Select Hostname 5. Enter the hostname and select ``. Note that the hostname will be used as the Asset ID. -Add Hostname +Add Hostname When the port has been activated, an asterisk will appear next to the port name. From 18adc576f0332a7ec5621632dd3a0612ab09f7ab Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 16 Apr 2026 21:24:51 -0400 Subject: [PATCH 6/7] Corrected syntax errors for build --- docs/cc_fips_conductor_install.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/cc_fips_conductor_install.mdx b/docs/cc_fips_conductor_install.mdx index ebdb91ab17..fcdb6b5dfd 100644 --- a/docs/cc_fips_conductor_install.mdx +++ b/docs/cc_fips_conductor_install.mdx @@ -2,9 +2,11 @@ title: Conductor Installation sidebar_label: Conductor Installation --- +import useBaseUrl from '@docusaurus/useBaseUrl'; import ConnectConsole from './_install_connect_console.md'; import BootUSBSSR100 from './_install_boot_usb_ssr100.md'; import BootUSBSSR1000 from './_install_boot_usb_ssr1000.md'; +import useBaseUrl from '@docusaurus/useBaseUrl'; After downloading the ISO, use the procedure in [Creating a Bootable USB](https://www.juniper.net/documentation/us/en/software/session-smart-router/docs/intro_creating_bootable_usb) to create a bootable USB. @@ -79,7 +81,7 @@ Configure the IP address that will be used to manage the network routers. 1. Select the device ethernet interface that corresponds to the management port for your Conductor and select `` -Configure the Ethernet port +Configure the Ethernet port 2. In the Edit Connection screen, configure the following: - The IP address for the port From 43e31f13a3f55aec9ce1bbada9328c0f848e0af3 Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 16 Apr 2026 21:41:52 -0400 Subject: [PATCH 7/7] removed extra include --- docs/cc_fips_conductor_install.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/cc_fips_conductor_install.mdx b/docs/cc_fips_conductor_install.mdx index fcdb6b5dfd..125bcbcd7f 100644 --- a/docs/cc_fips_conductor_install.mdx +++ b/docs/cc_fips_conductor_install.mdx @@ -6,7 +6,6 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; import ConnectConsole from './_install_connect_console.md'; import BootUSBSSR100 from './_install_boot_usb_ssr100.md'; import BootUSBSSR1000 from './_install_boot_usb_ssr1000.md'; -import useBaseUrl from '@docusaurus/useBaseUrl'; After downloading the ISO, use the procedure in [Creating a Bootable USB](https://www.juniper.net/documentation/us/en/software/session-smart-router/docs/intro_creating_bootable_usb) to create a bootable USB.