Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---
Expand Down
39 changes: 19 additions & 20 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ module.exports = {
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
algolia: {
appId: '2SJPGMLW1Q',
Expand Down Expand Up @@ -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: [
Expand All @@ -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',
},
],
},
Expand Down