From dca421b40ebd6876b2d71b624ab9689bd113139a Mon Sep 17 00:00:00 2001 From: William Black <125844868+smokestacklightnin@users.noreply.github.com> Date: Thu, 16 Jan 2025 05:01:40 -0500 Subject: [PATCH] Fix MkDocs build (#539) Co-authored-by: Philip Meier --- .readthedocs.yml | 5 +++++ docs/tutorials/gallery_python_api.py | 2 +- ragna/source_storages/__init__.py | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 46d68630..1050e8e3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -23,6 +23,11 @@ build: - ./git-lfs install - ./git-lfs fetch - ./git-lfs checkout + pre_install: + - git update-index --assume-unchanged $(git status --untracked-files=no + --porcelain | sed -E "s/\s*\S+\s+//") + post_install: + - git update-index --really-refresh || true mkdocs: configuration: mkdocs.yml diff --git a/docs/tutorials/gallery_python_api.py b/docs/tutorials/gallery_python_api.py index 11bed798..3b667c94 100644 --- a/docs/tutorials/gallery_python_api.py +++ b/docs/tutorials/gallery_python_api.py @@ -54,7 +54,7 @@ # # - [ragna.source_storages.Chroma][] # - [ragna.source_storages.LanceDB][] -# - [ragna.source_storages.QdrantDB][] +# - [ragna.source_storages.Qdrant][] # %% # ## Step 3: Select an assistant diff --git a/ragna/source_storages/__init__.py b/ragna/source_storages/__init__.py index c3084fd5..e9ee4ef8 100644 --- a/ragna/source_storages/__init__.py +++ b/ragna/source_storages/__init__.py @@ -1,6 +1,7 @@ __all__ = [ "Chroma", "LanceDB", + "Qdrant", "RagnaDemoSourceStorage", ]