diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 05af84a9c2..0bfdc08f8c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,10 +27,13 @@ jobs: with: node-version: '20.x' cache: 'yarn' + - name: Docusaurus Webpack cache + uses: actions/cache@v3 + with: + path: node_modules/.cache + key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }} - name: Install dependencies run: yarn install --frozen-lockfile - - name: Clean Docusaurus cache - run: rm -rf .docusaurus build - name: Build the Docusaurus site run: yarn build # --- Disallowed character checks for Pantheon --- diff --git a/docusaurus.config.js b/docusaurus.config.js index a96f100410..3a25a6ff36 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -274,7 +274,6 @@ module.exports = { colorMode: { defaultMode: 'light', disableSwitch: false, - respectPrefersColorScheme: true, }, algolia: { appId: '2SJPGMLW1Q', @@ -406,23 +405,8 @@ module.exports = { to: '/docs/release-notes', }, { - type: 'search', + label: 'Support', position: 'left', - }, - { - type: 'html', - position: 'right', - value: 'google_translate', - }, - { - to: 'https://www.sumologic.com/sign-up', - position: 'right', - className: 'header-trial', - alt: 'Sign up for a Sumo Logic free trial', - }, - { - position: 'right', - className: 'support-menu-trigger', to: '#', type: 'dropdown', items: [ @@ -449,10 +433,25 @@ module.exports = { ], }, { - className: 'header-github-link', - to: 'https://github.com/SumoLogic/sumologic-documentation', + type: 'html', + position: 'right', + value: 'google_translate', + }, + { + to: 'https://www.sumologic.com/sign-up', + position: 'right', + className: 'header-trial', + alt: 'Sign up for a Sumo Logic free trial', + }, + //{ + //className: 'header-github-link', + //to: 'https://github.com/SumoLogic/sumologic-documentation', + //position: 'right', + //alt: 'Link to Sumo Logic Docs GitHub repository', + //}, + { + type: 'search', position: 'right', - alt: 'Link to Sumo Logic Docs GitHub repository', }, ], },