From f8b1a780df701026d7e3c26b4e1542303bf9f838 Mon Sep 17 00:00:00 2001 From: Michael Sekamanya <86433807+mawandm@users.noreply.github.com> Date: Sun, 26 May 2024 23:07:53 -0700 Subject: [PATCH] fix(build): document target site directory (#101) Fixes incorrect cpu-only local development setup requirements --- .github/workflows/documentation.yml | 2 +- docs/src/dev-guide/local.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0dd4083..6789544 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -42,7 +42,7 @@ jobs: pip install -r docs/requirements.txt - name: Build with MkDocs run: | - cd docs && mkdocs build --clean --site-dir ../../_site && cd - + cd docs && mkdocs build --clean --site-dir ../_site && cd - - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/docs/src/dev-guide/local.md b/docs/src/dev-guide/local.md index a85bb06..add8edb 100644 --- a/docs/src/dev-guide/local.md +++ b/docs/src/dev-guide/local.md @@ -88,7 +88,7 @@ If you do not have `source`, you can activate the virtualenv with #### Start the RAG Engine Install dependencies ```bash -pip install -r nesis/rag/requirements.txt -r nesis/rag/requirements-torch-cpu-x86.txt -r nesis/rag/requirements-huggingface.txt --default-timeout=1200 +pip install -r nesis/rag/requirements.txt -r nesis/rag/requirements-huggingface.txt --default-timeout=1200 ``` Start the service