diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 190c8f1b1d..3fbe32ef63 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,18 +39,18 @@ jobs: - name: Build env: NODE_OPTIONS: "--max-old-space-size=4096" - BUILD_OUT_DIR: build + BUILD_OUT_DIR: build/documentation/us/en/software/session-smart-router run: npm run build - name: Build Offline Bundle env: NODE_OPTIONS: "--max-old-space-size=4096" - BUILD_OUT_DIR: build + BUILD_OUT_DIR: build/documentation/us/en/software/session-smart-router run: npm run build:offline - name: Check Links env: - LINKINATOR_PATH: "**/*.html" + LINKINATOR_PATH: "documentation/us/en/software/session-smart-router/**/*.html" run: npm run check-links - name: Deploy diff --git a/docusaurus.config.js b/docusaurus.config.js index d7504b60a7..558e4d021e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,10 +1,11 @@ +// url and baseUrl need to be set differently between master and the juniper-docs-migration branch const config = { title: 'SSN Docs', tagline: 'The documentation source for the Session Smart Networking Platform', - 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/', + //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.ico', organizationName: '128technology', // Usually your GitHub org/user name. projectName: 'docs', // Usually your repo name.