Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Move mkdocs dependencies from docs.yml to setup.py, closes #368

davidmezzetti35be4524e622
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index cb80ecb1..254f1cca 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -13,6 +13,6 @@ jobs:
python-version: 3.7
- run: |
pip install -U pip wheel
- pip install mkdocs-material mkdocstrings[python-legacy] .[all]
+ pip install .[all,dev]
- run: mkdocs gh-deploy --force
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 15f1c585..5136ce97 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,8 @@ install = ["faiss-cpu>=1.7.1.post2", "numpy>=1.18.4", "pyyaml>=5.3", "torch>=1.6
# Optional dependencies
extras = {}
-extras["dev"] = ["black", "coverage", "pre-commit", "pylint"]
+# Development dependencies - not included in "all" install
+extras["dev"] = ["black", "coverage", "mkdocs-material", "mkdocstrings[python-legacy]", "pre-commit", "pylint"]
extras["api"] = [
"aiohttp>=3.8.1",