Update docusaurus.config.js

This commit is contained in:
Luke Hagar
2024-01-16 14:56:11 -06:00
parent 51075eeeb1
commit 7c7ca9d061

View File

@@ -9,7 +9,14 @@ const config = {
title: "Plex Docs", title: "Plex Docs",
tagline: "Community Sourced Plex API Documentation with a kick", tagline: "Community Sourced Plex API Documentation with a kick",
favicon: "img/favicon.ico", favicon: "img/favicon.ico",
scripts: [
{
src: "https://analytics.plygrnd.org/js/script.js",
async: true,
defer: true,
"data-domain": "plexapi.dev",
},
],
// Set the production url of your site here // Set the production url of your site here
url: "https://plexapi.dev", url: "https://plexapi.dev",
// Set the /<baseUrl>/ pathname under which your site is served // Set the /<baseUrl>/ pathname under which your site is served
@@ -192,23 +199,6 @@ const config = {
"plex, api, sdk, ts, typescript, plex media server, plexapi.dev", "plex, api, sdk, ts, typescript, plex media server, plexapi.dev",
}, },
], ],
headTags: [
{
tagName: "script",
attributes: {
defer: true,
"data-domain": "plexapi.dev",
src: "https://analytics.plygrnd.org/js/script.js",
},
},
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://example.com",
},
},
],
algolia: { algolia: {
// The application ID provided by Algolia // The application ID provided by Algolia
appId: "B040KPNF7Z", appId: "B040KPNF7Z",