From 601a3a0d60dfb1c8d1c058074692a9b655f4685e Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 18 Nov 2025 08:41:15 +0100 Subject: [PATCH] [Docs] Replace literalinclude with links to example files --- docs/cookbook/chatbot-with-memory.rst | 4 +--- docs/cookbook/rag-implementation.rst | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/cookbook/chatbot-with-memory.rst b/docs/cookbook/chatbot-with-memory.rst index 9f4b334cd..10e8167e5 100644 --- a/docs/cookbook/chatbot-with-memory.rst +++ b/docs/cookbook/chatbot-with-memory.rst @@ -30,9 +30,7 @@ The complete implementation consists of three main parts: Complete Example ~~~~~~~~~~~~~~~~ -.. literalinclude:: ../../examples/memory/static.php - :language: php - :linenos: +See the complete example: `static.php `_ Key Components -------------- diff --git a/docs/cookbook/rag-implementation.rst b/docs/cookbook/rag-implementation.rst index cdccb395b..8a208abb1 100644 --- a/docs/cookbook/rag-implementation.rst +++ b/docs/cookbook/rag-implementation.rst @@ -39,9 +39,7 @@ Prerequisites Complete Implementation ----------------------- -.. literalinclude:: ../../examples/rag/in-memory.php - :language: php - :linenos: +See the complete example: `in-memory.php `_ Step-by-Step Breakdown ----------------------