Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Doc: Fix documentation build

Kilian Lieret96046fb9aa55
diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml
index 381bad3e..b3a784ac 100644
--- a/.github/workflows/build-docs.yaml
+++ b/.github/workflows/build-docs.yaml
@@ -36,8 +36,11 @@ jobs:
curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv pip install --python ${Python_ROOT_DIR} '.[dev]'
- name: Build Documentation
- if: github.ref != 'refs/heads/main'
+ if: github.ref != 'refs/heads/main' && github.ref != 'refs/heads/v0.7'
run: mkdocs build
+ - name: Deploy on 0.7
+ if: github.ref == 'refs/heads/v0.7'
+ run: mike deploy --push 0.7
- name: Build + Deploy Documentation
if: github.ref == 'refs/heads/main'
- run: mike deploy --push 0.7 latest
+ run: mike deploy --push 1.0 latest
diff --git a/pyproject.toml b/pyproject.toml
index 071047e6..d3195840 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,6 +56,7 @@ dependencies = [
"litellm",
"GitPython",
"ghapi",
+ "swe-rex"
]
[project.scripts]
@@ -73,6 +74,7 @@ dev = [
"pipx",
"pre-commit",
"pytest-xdist",
+ "griffe-pydantic",
]
[tool.setuptools]