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
32 changes: 15 additions & 17 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Note: type annotations allow type checking and IDEs autocompletion

// Libraries that support mathematics in documentation
import rehypeKatex from 'rehype-katex';
import remarkMath from 'remark-math';
import rehypeKatex from "rehype-katex";
import remarkMath from "remark-math";

// Options: https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes
const lightCodeTheme = require("prism-react-renderer").themes.github;
Expand Down Expand Up @@ -54,14 +54,13 @@ const config = {
// there will be a third one for real URLs. :)
},
gtag: {
trackingID: 'G-WG1Q5X6F6L',
trackingID: "G-WG1Q5X6F6L",
},
blog: {
showReadingTime: true,
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
editUrl:
"https://github.com/groundlight/python-sdk/tree/main/docs/blog/",
editUrl: "https://github.com/groundlight/python-sdk/tree/main/docs/blog/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
Expand All @@ -72,11 +71,10 @@ const config = {

stylesheets: [
{
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css',
type: 'text/css',
integrity:
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
crossorigin: 'anonymous',
href: "https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css",
type: "text/css",
integrity: "sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM",
crossorigin: "anonymous",
},
],

Expand Down Expand Up @@ -143,9 +141,9 @@ const config = {
position: "right",
},
{
to: 'blog',
label: 'Blog',
position: 'left',
to: "blog",
label: "Blog",
position: "left",
},
],
},
Expand Down Expand Up @@ -242,20 +240,20 @@ const config = {
},
{
to: "https://www.groundlight.ai/blog/introducing-groundlights-framegrab-library",
from: "/blog/introducing-framegrab"
from: "/blog/introducing-framegrab",
},
{
to: "https://www.groundlight.ai/blog/best-practices-for-best-results-with-groundlight",
from: "/blog/best-practices"
from: "/blog/best-practices",
},
{
to: "https://www.groundlight.ai/blog/linux-os-images-for-computer-vision-on-raspberry-pi",
from: "/blog/raspberry-pi-computer-vision"
from: "/blog/raspberry-pi-computer-vision",
},
],
},
],
],
};

module.exports = config;
module.exports = config;
Loading