Skip to content

Commit

Permalink
docs: remove console log (langchain-ai#28894)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Dec 23, 2024
1 parent 3726a94 commit 17f1ec8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/src/theme/DocItem/Layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 17f1ec8

Please sign in to comment.