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]

Docs: Add installation overview page (#377)

Kilian Lieretf876427b75fa
diff --git a/docs/installation/index.md b/docs/installation/index.md
new file mode 100644
index 00000000..530056a6
--- /dev/null
+++ b/docs/installation/index.md
@@ -0,0 +1,9 @@
+# Setting up SWE-agent
+
+We currently offer three options:
+
+1. Run SWE-agent completely **in your browser**: This is done using GitHub pages, basically a VSCode environment that runs in your browser. All necessary packages will be pre-installed, so you can get started directly. Read more [here](codespaces.md).
+
+2. **Local installation**: Install SWE-agent from source using `pip`. Read more [here](source.md).
+
+3. **Fully containerized** deployment using docker: Pull a docker container and directly run SWE-agent. This is our fallback solution if the local installation does not work for you. Read more [here](docker.md).
diff --git a/mkdocs.yml b/mkdocs.yml
index 0d1d6454..b5671ec6 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -2,30 +2,24 @@ site_name: SWE-agent documentation
theme:
name: material
logo: assets/swe-agent.svg
-
palette:
-
-
-
- # Palette toggle for light mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
-
- scheme: default
media: "(prefers-color-scheme: light)"
toggle:
icon: material/weather-night
name: Switch to dark mode
-
- # Palette toggle for dark mode
- scheme: slate
media: "(prefers-color-scheme: dark)"
toggle:
icon: material/weather-sunny
name: Switch to light mode
+ features:
+ - navigation.indexes
markdown_extensions:
- admonition
@@ -34,6 +28,7 @@ markdown_extensions:
nav:
- Home: index.md
- Installation:
+ - "installation/index.md"
- "Use in-browser": "installation/codespaces.md"
- "Install from source": "installation/source.md"
- "Docker": "installation/docker.md"