mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 06:14:37 +00:00
docs: remove console log (#28894)
This commit is contained in:
parent
3726a944c0
commit
17f1ec8610
@ -38,8 +38,6 @@ 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/")
|
||||||
@ -47,8 +45,6 @@ export default function DocItemLayout({children}) {
|
|||||||
);
|
);
|
||||||
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">
|
||||||
<div className={clsx('col', !docTOC.hidden && styles.docItemCol)}>
|
<div className={clsx('col', !docTOC.hidden && styles.docItemCol)}>
|
||||||
|
Loading…
Reference in New Issue
Block a user