Skip to content

Commit

Permalink
add highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
john-rock committed Mar 13, 2024
1 parent 42ed459 commit b500ae0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
31 changes: 17 additions & 14 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ const siteSettings = {
baseUrl: "/",
organizationName: "dbt Labs",
projectName: "handbook",
scripts: [
"https://buttons.github.io/buttons.js"
],
scripts: ["https://buttons.github.io/buttons.js"],
favicon: "img/dbt-logo.svg",
customFields: {},
onBrokenLinks: "log",
Expand All @@ -21,28 +19,33 @@ const siteSettings = {
showLastUpdateTime: true,
path: "./docs",
sidebarPath: "./sidebars.json",
routeBasePath: '/docs/about_dbt_labs',
routeBasePath: "/docs/about_dbt_labs",
breadcrumbs: false,
},
blog: false,
theme: {
id: "classic",
customCss: require.resolve("./src/css/custom.css"),
},
}
]
},
],
],
plugins: [
require.resolve('docusaurus-lunr-search'),
[
require.resolve("docusaurus-lunr-search"),
{
highlightResult: true,
},
],
],
themeConfig: {
navbar: {
title: "Handbook",
logo: {
src: "img/dbt-labs-light.svg",
href: "/docs/about_dbt_labs"
href: "/docs/about_dbt_labs",
},
items: []
items: [],
},
docs: {
sidebar: {
Expand All @@ -54,15 +57,15 @@ const siteSettings = {
links: [],
copyright: `Copyright © ${new Date().getFullYear()} dbt Labs`,
logo: {
src: "img/dbt-logo-light.svg"
}
src: "img/dbt-logo-light.svg",
},
},
colorMode: {
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: false,
}
}
}
},
},
};

module.exports = siteSettings;
3 changes: 3 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@
.footer__copyright {
color: hsla(0,0%,100%,.4);
}

/* Misc */
mark { background-color: #fdff32 !important;}

0 comments on commit b500ae0

Please sign in to comment.