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: Use grids for prettier selections (#403)

Kilian Lieret347570e415dc
diff --git a/docs/installation/index.md b/docs/installation/index.md
index 530056a6..60219bb8 100644
--- a/docs/installation/index.md
+++ b/docs/installation/index.md
@@ -1,9 +1,29 @@
# Setting up SWE-agent
-We currently offer three options:
+<div class="grid cards" markdown>
-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).
+- :material-github:{ .lg .middle } __All in browser__
-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).
+ Run SWE-agent using GitHub codespaces. All necessary packages will be pre-installedn in an in-browser VSCode environment.
+
+ [:octicons-arrow-right-24: Get started](codespaces.md)
+
+- :material-cog:{ .lg .middle } __Install from source__
+
+ ---
+
+ Install SWE-agent from source using `pip`.
+
+ [:octicons-arrow-right-24: Get started](source.md)
+
+
+- :material-docker:{ .lg .middle } __Run in docker__
+
+ ---
+
+ Pull a docker container and directly run SWE-agent. This is our fallback solution if the local installation does not work for you.
+
+ [:octicons-arrow-right-24: Get started](docker.md)
+</div>
\ No newline at end of file
diff --git a/docs/usage/index.md b/docs/usage/index.md
index badbfaaf..26eab340 100644
--- a/docs/usage/index.md
+++ b/docs/usage/index.md
@@ -2,4 +2,24 @@
We currently provide two interfaces to SWE-agent: The [command line interface (CLI)](cl_tutorial.md) and our [graphical web interface](web_ui.md).
+<div class="grid cards" markdown>
+
+- :material-keyboard:{ .lg .middle } __Command line interface (CLI)__
+
+ ---
+
+ The default way of running SWE-agent with maximum options.
+
+ [:octicons-arrow-right-24: Get started](cl_tutorial.md)
+
+- :material-mouse:{ .lg .middle } __Graphical user interface__
+
+ ---
+
+ We provide a browser-based graphical user interface particularly optimized for developers wanting to use SWE-agent as a tool.
+
+ [:octicons-arrow-right-24: Get started](web_ui.md)
+
+</div>
+
While the latter is more beginner-friendly, the CLI currently still has more expert options.
\ No newline at end of file
diff --git a/mkdocs.yml b/mkdocs.yml
index 89ec87c6..a1a14c1b 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -35,6 +35,11 @@ markdown_extensions:
- pymdownx.superfences
- pymdownx.magiclink
- footnotes
+ - attr_list
+ - md_in_html
+ - pymdownx.emoji:
+ emoji_index: !!python/name:material.extensions.emoji.twemoji
+ emoji_generator: !!python/name:material.extensions.emoji.to_svg
nav:
- Home: index.md
- Installation: