Skip to content

Commit

Permalink
Merge branch 'main' into typos
Browse files Browse the repository at this point in the history
  • Loading branch information
intls authored Dec 4, 2024
2 parents edce8eb + 8912335 commit 8d4a4a6
Showing 1 changed file with 3 additions and 43 deletions.
46 changes: 3 additions & 43 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,6 @@ const config = {
organizationName: "xmtp",
projectName: "xmtp-dot-org",
scripts: [
{
src: "https://widget.kapa.ai/kapa-widget.bundle.js",
"data-website-id": "7039ef02-1fe3-4e7a-9dfa-5421408b7cea",
"data-project-name": "XMTP",
"data-project-color": "#5A2895",
"data-project-logo":
"https://avatars.githubusercontent.com/u/82580170?s=280&v=4",
"data-modal-example-questions":
"How do I send a remote attachment?,Is XMTP Decentralized?, Do you have group chats?",
"data-button-position-bottom": "120px",
"data-button-hide": "true",
"data-modal-override-open-class": "ask_gpt",
"data-search-mode-default": "false",
"data-search-mode-enabled": "true",
"data-modal-title": "XMTP Docs",
async: true,
},
{
src: "/js/myjs.js",
},
Expand Down Expand Up @@ -199,8 +182,8 @@ const config = {
<div class="navbar__client__dropdown_text"><div class="text-base text-semibold">Community forum ↗</div>`,
},
{
href: "https://discord.gg/N3smtr5upp",
html: `<div class="navbar__client__dropdown"><div class="navbar__client__dropdown__icon"><img src="/img/discord-nav-icon.svg" alt="Discord icon" /></div>
href: "https://community.xmtp.org/c/dev-support/76",
html: `<div class="navbar__client__dropdown"><div class="navbar__client__dropdown__icon"><img src="/img/discourse-icon.svg" alt="Discourse icon" /></div>
<div class="navbar__client__dropdown_text"><div class="text-base text-semibold">Dev support ↗</div>`,
},
{
Expand Down Expand Up @@ -251,7 +234,7 @@ const config = {
},
{
label: "Dev support ↗",
to: "https://discord.gg/N3smtr5upp",
to: "https://community.xmtp.org/c/dev-support/76",
},
{
label: "Awesome XMTP ↗",
Expand Down Expand Up @@ -332,29 +315,6 @@ const config = {
},
],
},
algolia: {
// The application ID provided by Algolia
appId: process.env.ALGOLIA_APP_ID,

// Public API key: it is safe to commit it
apiKey: process.env.ALGOLIA_API_KEY,

indexName: process.env.ALGOLIA_INDEX_NAME,

// Optional: see doc section below
contextualSearch: true,

// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
// externalUrlRegex: 'external\\.com|domain\\.com',

// Optional: Algolia search parameters
searchParameters: {},

// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: "search",

//... other Algolia params
},
prism: {
additionalLanguages: ["swift", "kotlin", "graphql"],
theme: darkCodeTheme,
Expand Down

0 comments on commit 8d4a4a6

Please sign in to comment.