Skip to content

Commit

Permalink
Merge branch 'main' into DEVX-2980
Browse files Browse the repository at this point in the history
  • Loading branch information
alexplischke authored Aug 2, 2024
2 parents 3539db9 + 39598f7 commit c382bcc
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 94 deletions.
34 changes: 21 additions & 13 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const docusaurusConfig = {
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
favicon: 'favicon.ico',
organizationName: 'saucelabs',
projectName: 'sauce-docs',
// TODO: I don't think google-site-verification is working at all, confirm with P.O.
customFields: {
headTags: [
{
Expand All @@ -22,6 +22,26 @@ const docusaurusConfig = {
},
],
},
headTags: [
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/img/favicon-16x16.png',
},
},
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/img/favicon-32x32.png',
},
},
],
scripts: [
'/scripts/hide.js',
// Need Help? button
Expand All @@ -39,11 +59,6 @@ const docusaurusConfig = {
},
],
themeConfig: {
beamer: {
product_id: `'WyhkZHOU27797'`,
display: `'popup'`,
// selector: `'.beamerContainer'`,
},
prism: {
additionalLanguages: [
'java',
Expand Down Expand Up @@ -100,12 +115,6 @@ const docusaurusConfig = {
position: 'left',
to: '/error-reporting/getting-started',
},
{
type: 'html',
position: 'right',
className: 'beamerTrigger',
value: '<img src="/img/beamer.svg" width="22" height="22" class="beamer-navbar-bell" alt="Product Updates">',
},
],
},
/* this is a swizzled component, see inside theme folder */
Expand Down Expand Up @@ -155,7 +164,6 @@ const docusaurusConfig = {
],
],
themes: ['docusaurus-theme-github-codeblock'],
plugins: ['./src/plugins/beamer'],
};

if (!process.env.SAUCE_DOCS_DEV) {
Expand Down
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ module.exports = {
'visual-testing/workflows/test-execution',
'visual-testing/workflows/review',
'visual-testing/workflows/ci',
'visual-testing/workflows/api-lifecycle'
'visual-testing/workflows/api-lifecycle',
],
},
{
Expand Down
19 changes: 0 additions & 19 deletions src/css/beamer.css

This file was deleted.

1 change: 0 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
@import "footer-styles.css";
@import "fw-badge-override.css";
@import "homesearchbar.css";
@import "beamer.css";
@import "./variables/colors.modules.css";
@import "./variables/fonts.modules.css";

Expand Down
56 changes: 0 additions & 56 deletions src/plugins/beamer/index.js

This file was deleted.

13 changes: 9 additions & 4 deletions static/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
<title>404 Error | Sauce Docs</title>
<link rel="stylesheet" href="/css/404.css" />
<link
data-react-helmet="true"
rel="shortcut icon"
href="/img/favicon.ico"
/>
rel="icon"
type="image/png"
href="/img/favicon-32x32.png"
sizes="32x32" />
<link
rel="icon"
type="image/png"
href="/img/favicon-16x16.png"
sizes="16x16" />
</head>
<body>
<div class="container">
Expand Down
Binary file removed static/favicon.ico
Binary file not shown.

0 comments on commit c382bcc

Please sign in to comment.