Skip to content
Snippets Groups Projects
Commit 64298167 authored by James Briggs's avatar James Briggs
Browse files

chore: docs workflow

parent 4a41b58a
No related branches found
No related tags found
No related merge requests found
......@@ -38,11 +38,10 @@ jobs:
cache: poetry
- name: Install dependencies
run: |
poetry install
pip install -r docs/source/requirements.txt
poetry install --all-extras
- name: Build docs
run: |
sphinx-build -M html docs/source docs/build
poetry run sphinx-build -M html docs/source docs/build
- name: Authenticate to Google Cloud
id: auth
uses: google-github-actions/auth@v2
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -45,6 +45,8 @@ botocore = {version = "^1.34.110", optional = true}
aiohttp = "^3.9.5"
fastembed = {version = "^0.3.0", optional = true}
psycopg2 = {version = "^2.9.9", optional = true}
sphinx = {version = "^7.0.0", optional = true}
sphinxawesome-theme = {version = "^5.2.0", optional = true}
[tool.poetry.extras]
hybrid = ["pinecone-text"]
......@@ -58,6 +60,7 @@ google = ["google-cloud-aiplatform"]
bedrock = ["boto3", "botocore"]
postgres = ["psycopg2"]
fastembed = ["fastembed"]
docs = ["sphinx", "sphinxawesome-theme"]
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.25.0"
......@@ -70,8 +73,6 @@ mypy = "^1.7.1"
types-pyyaml = "^6.0.12.12"
types-requests = "^2.31.0"
black = {extras = ["jupyter"], version = ">=23.12.1,<24.5.0"}
sphinx = "^7.0.0"
sphinxawesome-theme = "^5.2.0"
[build-system]
requires = ["poetry-core"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment