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:

![image](https://github.com/user-attachments/assets/9c0a336c-775c-489c-a275-f1153d447ecb)

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:
JHIH-SIOU LI 2025-02-03 23:54:24 +08:00 committed by GitHub
parent 0c782ee547
commit 48fa3894c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"loader = ReadTheDocsLoader(\"rtdocs\", features=\"html.parser\")" "loader = ReadTheDocsLoader(\"rtdocs\")"
] ]
}, },
{ {