langchain
e85c53ce - Update readthedocs.py (#943)

Commit
3 years ago
Update readthedocs.py (#943) Sometimes, the docs may be empty. For example for the text = soup.find_all("main", {"id": "main-content"}) was an empty list. To cater to these edge cases, the clean function needs to be checked if it is empty or not.
Author
Parents
Loading