Skip to content

Commit f4498c0

Browse files
committed
minor #886 [Docs] Replace literalinclude with links to example files (OskarStark)
This PR was squashed before being merged into the main branch. Discussion ---------- [Docs] Replace literalinclude with links to example files | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | yes | Issues | -- | License | MIT The literalinclude directive was causing issues in the documentation build. Replaced it with direct links to the example files in the GitHub repository. This keeps the documentation clean and ensures readers always see the most up-to-date version of the examples. Commits ------- 601a3a0 [Docs] Replace literalinclude with links to example files
2 parents 5c92c0a + 601a3a0 commit f4498c0

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/cookbook/chatbot-with-memory.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ The complete implementation consists of three main parts:
3030
Complete Example
3131
~~~~~~~~~~~~~~~~
3232

33-
.. literalinclude:: ../../examples/memory/static.php
34-
:language: php
35-
:linenos:
33+
See the complete example: `static.php <https://github.com/symfony/ai/blob/main/examples/memory/static.php>`_
3634

3735
Key Components
3836
--------------

docs/cookbook/rag-implementation.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ Prerequisites
3939
Complete Implementation
4040
-----------------------
4141

42-
.. literalinclude:: ../../examples/rag/in-memory.php
43-
:language: php
44-
:linenos:
42+
See the complete example: `in-memory.php <https://github.com/symfony/ai/blob/main/examples/rag/in-memory.php>`_
4543

4644
Step-by-Step Breakdown
4745
----------------------

0 commit comments

Comments
 (0)