diff --git a/.github/utils/pydoc-markdown.sh b/.github/utils/pydoc-markdown.sh index 4e1c21f68..5518760d8 100755 --- a/.github/utils/pydoc-markdown.sh +++ b/.github/utils/pydoc-markdown.sh @@ -3,7 +3,7 @@ set -e # Fails on any error in the following loop export PYTHONPATH=$PWD/docs/pydoc # Make the renderers available to pydoc cd docs/_src/api/api/ -mkdir temp +rm -rf temp && mkdir temp cd temp for file in ../../pydoc/* ; do pydoc-markdown "$file" diff --git a/docs/_src/api/pydoc/document-store.yml b/docs/_src/api/pydoc/document-store.yml index 6f89c7c84..17738aaae 100644 --- a/docs/_src/api/pydoc/document-store.yml +++ b/docs/_src/api/pydoc/document-store.yml @@ -1,7 +1,7 @@ loaders: - type: python search_path: [../../../../haystack/document_stores] - modules: ['base', 'elasticsearch', 'opensearch', 'memory', 'sql', 'faiss', 'milvus1', 'milvus2', 'weaviate', 'graphdb', 'deepsetcloud', 'pinecone', 'search_engine', 'utils'] + modules: ['base', 'elasticsearch', 'opensearch', 'memory', 'sql', 'faiss', 'milvus', 'weaviate', 'graphdb', 'deepsetcloud', 'pinecone', 'search_engine', 'utils'] ignore_when_discovered: ['__init__'] processors: - type: filter