mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 15:19:33 +00:00
docs: update readthedocs document loader options (#29556)
Hi there!
This PR updates the documentation according to the code.
If we run the example as is, then it would result in the following
error:

It seems that this part of the code already supplied the required
argument to the BeautifulSoup4:
0c782ee547/libs/community/langchain_community/document_loaders/readthedocs.py (L87-L90)
Since the example can only work by removing this argument, it also seems
legit to remove it from the documentation.
This commit is contained in:
parent
0c782ee547
commit
48fa3894c2
@ -55,7 +55,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"loader = ReadTheDocsLoader(\"rtdocs\", features=\"html.parser\")"
|
"loader = ReadTheDocsLoader(\"rtdocs\")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user