docs: remove console log (#28894)

This commit is contained in:
Erick Friis 2024-12-23 13:22:21 -08:00 committed by GitHub
parent 3726a944c0
commit 17f1ec8610
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,16 +38,12 @@ export default function DocItemLayout({children}) {
"https://github.com/langchain-ai/langchain/blob/master/docs/docs/introduction.ipynb"
"https://colab.research.google.com/github/langchain-ai/langchain/blob/master/docs/docs/introduction.ipynb"
console.log({metadata, frontMatter})
const linkColab = frontMatter.link_colab || (
metadata.editUrl?.endsWith(".ipynb")
? metadata.editUrl?.replace("https://github.com/langchain-ai/langchain/edit/", "https://colab.research.google.com/github/langchain-ai/langchain/blob/")
: null
);
const linkGithub = frontMatter.link_github || metadata.editUrl?.replace("/edit/", "/blob/");
console.log({linkColab, linkGithub})
return (
<div className="row">