Skip to content

Commit

Permalink
mkdocs wkfl install --only docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pchalasani committed May 31, 2024
1 parent 5b610ef commit f9e6aad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/mkdocs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/mkdocs-deploy.yml"
branches:
- main
- simpler_doc_linking
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
echo "$HOME/.local/bin" >> $GITHUB_PATH
python -m pip install --upgrade pip
poetry install -E mkdocs
poetry install --only docs
- name: Build MkDocs documentation
# change this to -b gh-pages when ready to make docs public
Expand Down
23 changes: 13 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ license = "MIT"
python = ">=3.10,<3.12"

# OPTIONALS
mkdocs = {version="^1.4.2", optional=true}
mkdocs-material = {version="^9.1.5", optional=true}
mkdocstrings = {extras = ["python"], version = "^0.21.2", optional=true}
mkdocs-awesome-pages-plugin = {version="^2.8.0", optional=true}
mkdocs-rss-plugin = {version="^1.8.0", optional=true}
mkdocs-gen-files = {version="^0.4.0", optional=true}
mkdocs-literate-nav = {version="^0.6.0", optional=true}
mkdocs-section-index = {version="^0.3.5", optional=true}
mkdocs-jupyter = {version="^0.24.1", optional=true}
chromadb = {version=">=0.4.21, <=0.4.23", optional=true}
momento = {version="^1.10.2", optional=true}
unstructured = {extras = ["docx", "pptx", "pdf"], version = ">=0.10.16,<0.10.18", optional=true}
Expand Down Expand Up @@ -156,9 +147,21 @@ pytest-redis = "^3.0.2"
pytest-asyncio = "^0.21.1"
pytest-postgresql = "^5.0.0"
pytest-mysql = "^2.4.2"
coverage = "^7.2.5"

[tool.poetry.group.docs.dependencies]

mkdocs = "^1.4.2"
mkdocs-material = "^9.1.5"
mkdocstrings = {extras = ["python"], version = "^0.21.2"}
mkdocs-awesome-pages-plugin = "^2.8.0"
mkdocs-rss-plugin = "^1.8.0"
mkdocs-gen-files = "^0.4.0"
mkdocs-literate-nav = "^0.6.0"
mkdocs-section-index = "^0.3.5"
mkdocs-jupyter = "^0.24.1"


coverage = "^7.2.5"

# ========================================
[build-system]
Expand Down

0 comments on commit f9e6aad

Please sign in to comment.