Skip to content

Commit d1b6200

Browse files
Merge branch 'main' into add-ruby-postgresql-quickstart
2 parents 7cf26e7 + 63fa9e4 commit d1b6200

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

docusaurus.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ module.exports = {
1717
favicon: "img/favicon.png",
1818
organizationName: "keploy", // Usually your GitHub org/user name.
1919
projectName: "docs", // Usually your repo name.
20-
markdown: {
21-
hooks: {
22-
onBrokenMarkdownLinks: "warn",
23-
},
24-
},
2520
plugins: [
2621
function preloadFontPlugin() {
2722
return {
@@ -375,6 +370,11 @@ module.exports = {
375370
async: true,
376371
defer: true,
377372
},
373+
{
374+
src: "/docs/js/apollo-init.js",
375+
async: true,
376+
defer: true,
377+
},
378378
/*{
379379
src: "/docs/scripts/chat.js",
380380
async: true,

static/js/apollo-init.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
(function initApollo() {
2+
var randomCacheBuster = Math.random().toString(36).substring(7);
3+
var scriptEl = document.createElement("script");
4+
scriptEl.src =
5+
"https://assets.apollo.io/micro/website-tracker/tracker.iife.js?nocache=" +
6+
randomCacheBuster;
7+
scriptEl.async = true;
8+
scriptEl.defer = true;
9+
scriptEl.onload = function () {
10+
window.trackingFunctions?.onLoad?.({
11+
appId: "6644a0d6a54b5b0438c841cc",
12+
});
13+
};
14+
document.head.appendChild(scriptEl);
15+
})();

0 commit comments

Comments
 (0)