mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-20 22:03:52 +00:00
docs: remove console log (#28894)
This commit is contained in:
parent
3726a944c0
commit
17f1ec8610
@ -38,16 +38,12 @@ export default function DocItemLayout({children}) {
|
|||||||
"https://github.com/langchain-ai/langchain/blob/master/docs/docs/introduction.ipynb"
|
"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"
|
"https://colab.research.google.com/github/langchain-ai/langchain/blob/master/docs/docs/introduction.ipynb"
|
||||||
|
|
||||||
console.log({metadata, frontMatter})
|
|
||||||
|
|
||||||
const linkColab = frontMatter.link_colab || (
|
const linkColab = frontMatter.link_colab || (
|
||||||
metadata.editUrl?.endsWith(".ipynb")
|
metadata.editUrl?.endsWith(".ipynb")
|
||||||
? metadata.editUrl?.replace("https://github.com/langchain-ai/langchain/edit/", "https://colab.research.google.com/github/langchain-ai/langchain/blob/")
|
? metadata.editUrl?.replace("https://github.com/langchain-ai/langchain/edit/", "https://colab.research.google.com/github/langchain-ai/langchain/blob/")
|
||||||
: null
|
: null
|
||||||
);
|
);
|
||||||
const linkGithub = frontMatter.link_github || metadata.editUrl?.replace("/edit/", "/blob/");
|
const linkGithub = frontMatter.link_github || metadata.editUrl?.replace("/edit/", "/blob/");
|
||||||
|
|
||||||
console.log({linkColab, linkGithub})
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="row">
|
<div className="row">
|
||||||
|
Loading…
Reference in New Issue
Block a user