From 133971053a0b84a034fb0bc78cd1150cdb7f5dbf Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Fri, 15 Dec 2023 17:46:12 -0800 Subject: [PATCH] docs[patch]: fix zoom (#14786) not sure why quarto is removing divs --- docs/docs/expression_language/why.ipynb | 81 ++++++------------------- docs/src/theme/Columns.js | 2 +- 2 files changed, 20 insertions(+), 63 deletions(-) diff --git a/docs/docs/expression_language/why.ipynb b/docs/docs/expression_language/why.ipynb index 66c78087aded1..2cdc5d63e0c1b 100644 --- a/docs/docs/expression_language/why.ipynb +++ b/docs/docs/expression_language/why.ipynb @@ -66,9 +66,7 @@ "\n", "\n", "\n", - "#### Without LCEL\n", - "\n", - "
" + "#### Without LCEL\n" ] }, { @@ -78,7 +76,6 @@ "metadata": {}, "outputs": [], "source": [ - "\n", "from typing import List\n", "\n", "import openai\n", @@ -107,14 +104,12 @@ "id": "cdc3b527-c09e-4c77-9711-c3cc4506cd95", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -147,7 +142,6 @@ "id": "3c0b0513-77b8-4371-a20e-3e487cec7e7f", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -158,8 +152,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -197,14 +190,12 @@ "id": "f8e36b0e-c7dc-4130-a51b-189d4b756c7f", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -223,7 +214,6 @@ "id": "b9b41e78-ddeb-44d0-a58b-a0ea0c99a761", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -235,8 +225,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -261,14 +250,12 @@ "id": "9b3e9d34-6775-43c1-93d8-684b58e341ab", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -286,7 +273,6 @@ "id": "cc5ba36f-eec1-4fc1-8cfe-fa242a7f7809", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -298,8 +284,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -333,15 +318,12 @@ "await ainvoke_chain(\"ice cream\")\n", "```\n", "\n", - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", "\n", - "
\n", - "\n", "```python\n", "chain.ainvoke(\"ice cream\")\n", "```" @@ -352,7 +334,6 @@ "id": "f6888245-1ebe-4768-a53b-e1fef6a8b379", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -364,8 +345,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -394,14 +374,12 @@ "id": "45342cd6-58c2-4543-9392-773e05ef06e7", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -429,7 +407,6 @@ "id": "ca115eaf-59ef-45c1-aac1-e8b0ce7db250", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -441,8 +418,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -477,14 +453,12 @@ "id": "52a0c9f8-e316-42e1-af85-cabeba4b7059", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -512,7 +486,6 @@ "id": "d7a91eee-d017-420d-b215-f663dcbf8ed2", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -524,8 +497,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -603,14 +575,12 @@ "id": "d1530c5c-6635-4599-9483-6df357ca2d64", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### With LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -665,7 +635,6 @@ "id": "370dd4d7-b825-40c4-ae3c-2693cba2f22a", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -679,8 +648,7 @@ "#### Without LCEL\n", "\n", "We'll `print` intermediate steps for illustrative purposes\n", - "\n", - "
" + "\n" ] }, { @@ -706,15 +674,13 @@ "id": "16bd20fd-43cd-4aaf-866f-a53d1f20312d", "metadata": {}, "source": [ - "
\n", "\n", "\n", "\n", "\n", "#### LCEL\n", "Every component has built-in integrations with LangSmith. If we set the following two environment variables, all chain traces are logged to LangSmith.\n", - "\n", - "
" + "\n" ] }, { @@ -745,7 +711,6 @@ "id": "e25ce3c5-27a7-4954-9f0e-b94313597135", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", @@ -759,8 +724,7 @@ "\n", "#### Without LCEL\n", "\n", - "\n", - "
" + "\n" ] }, { @@ -800,14 +764,12 @@ "id": "f7ef59b5-2ce3-479e-a7ac-79e1e2f30e9c", "metadata": {}, "source": [ - "
\n", "\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -829,7 +791,6 @@ "id": "3af52d36-37c6-4d89-b515-95d7270bb96a", "metadata": {}, "source": [ - "
\n", "
\n", "" ] @@ -847,8 +808,7 @@ "\n", "\n", "#### Without LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -1025,14 +985,12 @@ "id": "9fb3d71d-8c69-4dc4-81b7-95cd46b271c2", "metadata": {}, "source": [ - "
\n", "
\n", "\n", "\n", "\n", "#### LCEL\n", - "\n", - "
" + "\n" ] }, { @@ -1083,7 +1041,6 @@ "id": "e3637d39", "metadata": {}, "source": [ - "
\n", "
\n", "" ] diff --git a/docs/src/theme/Columns.js b/docs/src/theme/Columns.js index 5bc5c1caf88ab..a113973dec0fd 100644 --- a/docs/src/theme/Columns.js +++ b/docs/src/theme/Columns.js @@ -10,7 +10,7 @@ export function ColumnContainer({children}) { export function Column({children}) { return ( -
+
{children}
)