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]

Update docs dimensions

carlosejimeneza82def44c606
diff --git a/docs/assets/custom.css b/docs/assets/custom.css
index 41b34a67..09d7487b 100644
--- a/docs/assets/custom.css
+++ b/docs/assets/custom.css
@@ -1,11 +1,30 @@
[data-md-color-scheme="default"] {
--md-default-bg-color: #fff7ec;
+ --md-primary-fg-color: #000000;
+ --md-typeset-a-color: #0099ff;
}
[data-md-color-scheme="slate"] {
+ --md-primary-fg-color: #000000;
--md-default-fg-color: #fff7ec;
+ --md-default-bg-color: #111111;
}
.clickable-banner {
- color: #fff7ec !important;
+ color: #000000;
+}
+
+.md-typeset {
+ font-size: 0.9rem;
+}
+
+.md-grid {
+ max-width: 85vw;
+}
+
+.md-typeset h1 {
+ font-weight: 600;
+ color: var(
+ --md-primary-fg-color-dark
+ ); /* this actually works for both light and dark themes */
}
diff --git a/docs/index.md b/docs/index.md
index ffe964f5..a6b24ab6 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,5 +1,5 @@
---
-title: SWE-agent
+title: "Getting Started"
---
<div style="text-align: center;">
diff --git a/mkdocs.yml b/mkdocs.yml
index 50d695a5..5beaa37f 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -11,14 +11,14 @@ theme:
icon: material/brightness-auto
name: Switch to light mode
- scheme: default
- primary: black
+ # primary: black # override in custom.css
accent: deep orange
media: "(prefers-color-scheme: light)"
toggle:
icon: material/weather-night
name: Switch to dark mode
- scheme: slate
- primary: black
+ # primary: black # override in custom.css
accent: deep orange
media: "(prefers-color-scheme: dark)"
toggle: