Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs[patch]: search experiment #3538

Merged
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
56 changes: 0 additions & 56 deletions docs/core_docs/docs/_static/js/mendablesearch.js

This file was deleted.

15 changes: 12 additions & 3 deletions docs/core_docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ const config = {
title: "🦜️🔗 Langchain",
tagline: "LangChain JS Docs",
favicon: "img/favicon.ico",
customFields: {
mendableAnonKey: process.env.MENDABLE_ANON_KEY,
},
// Set the production url of your site here
url: "https://js.langchain.com",
// Set the /<baseUrl>/ pathname under which your site is served
Expand Down Expand Up @@ -268,6 +265,18 @@ const config = {
],
copyright: `Copyright © ${new Date().getFullYear()} LangChain, Inc.`,
},
algolia: {
// The application ID provided by Algolia
appId: "3EZV6U1TYC",

// Public API key: it is safe to commit it
// this is linked to [email protected] currently
apiKey: "180851bbb9ba0ef6be9214849d6efeaf",

indexName: "js-langchain",

contextualSearch: true,
},
}),

scripts: [
Expand Down
7 changes: 3 additions & 4 deletions docs/core_docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\""
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that this PR updates the dependencies in the package.json file, including version changes and a removed dependency. This is flagged for maintainers to review the changes in peer/dev/hard dependencies. Great work, and looking forward to the review! 🚀

},
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.1",
"@docusaurus/core": "2.4.3",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bumped to 2.4.3 while here

"@docusaurus/preset-classic": "2.4.3",
"@docusaurus/remark-plugin-npm2yarn": "2.4.3",
"@mdx-js/react": "^1.6.22",
"@mendable/search": "^0.0.160",
"clsx": "^1.2.1",
"json-loader": "^0.5.7",
"process": "^0.11.10",
Expand Down
19 changes: 0 additions & 19 deletions docs/core_docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,6 @@
--ifm-color-primary-lightest: #4fddbf;
}

/* Reduce width on mobile for Mendable Search */
@media (max-width: 767px) {
.mendable-search {
width: 200px;
}
}

@media (max-width: 500px) {
.mendable-search {
width: 150px;
}
}

@media (max-width: 380px) {
.mendable-search {
width: 140px;
}
}

.footer__links {
margin-top: 1rem;
margin-bottom: 3rem;
Expand Down
35 changes: 0 additions & 35 deletions docs/core_docs/src/theme/SearchBar.js

This file was deleted.

Loading