Skip to content

Commit 065f911

Browse files
committed
Polish MkDocs site design
1 parent 7a1280b commit 065f911

3 files changed

Lines changed: 123 additions & 5 deletions

File tree

docs/index.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
# CodexOpt
1+
<section class="codexopt-hero">
2+
<h1>CodexOpt</h1>
3+
<p class="codexopt-lead">
4+
Benchmark and optimize <code>AGENTS.md</code> and <code>SKILL.md</code> for Codex with a repeatable developer workflow.
5+
</p>
6+
<p>
7+
<a class="md-button md-button--primary" href="getting-started/">Get Started</a>
8+
<a class="md-button" href="https://github.com/SuperagenticAI/codexopt-demo">View Demo Repo</a>
9+
</p>
10+
</section>
11+
12+
<div class="codexopt-grid">
13+
<div class="codexopt-card">
14+
<strong>Targeted</strong>
15+
Focused on repo-local Codex assets: <code>AGENTS.md</code> and <code>SKILL.md</code>.
16+
</div>
17+
<div class="codexopt-card">
18+
<strong>Measurable</strong>
19+
Score instruction quality, attach evidence, and review artifact-backed changes.
20+
</div>
21+
<div class="codexopt-card">
22+
<strong>Practical</strong>
23+
Scan, benchmark, optimize, review, apply, and report from a single CLI.
24+
</div>
25+
</div>
226

327
CodexOpt helps teams benchmark and optimize Codex instruction assets with a repeatable workflow.
428

@@ -35,6 +59,18 @@ CodexOpt makes those problems measurable and easier to improve safely.
3559
- records artifacts under `.codexopt/`
3660
- generates markdown reports for review and PR discussion
3761

62+
## Why Developers Use It
63+
64+
Instruction files tend to drift long before teams notice:
65+
66+
- duplicated rules
67+
- contradictory constraints
68+
- weak testing guidance
69+
- vague skill triggers
70+
- prompt bloat
71+
72+
CodexOpt gives developers a way to improve those files with something closer to a normal engineering loop than ad hoc prompt editing.
73+
3874
## Demo Repository
3975

4076
If you want a small example repo with intentionally messy instructions, use the companion demo:
@@ -51,4 +87,3 @@ uv run codexopt optimize agents --file AGENTS.md
5187
uv run codexopt optimize skills --glob ".codex/skills/**/SKILL.md"
5288
uv run codexopt report --output codexopt-report.md
5389
```
54-

docs/stylesheets/extra.css

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
:root {
2+
--md-primary-fg-color: #0f172a;
3+
--md-primary-fg-color--light: #1e293b;
4+
--md-primary-fg-color--dark: #020617;
5+
--md-accent-fg-color: #0f766e;
6+
--codexopt-hero-start: #eff6ff;
7+
--codexopt-hero-end: #ecfeff;
8+
--codexopt-card-border: rgba(15, 23, 42, 0.08);
9+
}
10+
11+
[data-md-color-scheme="slate"] {
12+
--md-primary-fg-color: #020617;
13+
--md-primary-fg-color--light: #0f172a;
14+
--md-primary-fg-color--dark: #000000;
15+
--md-accent-fg-color: #5eead4;
16+
--codexopt-hero-start: rgba(15, 23, 42, 0.92);
17+
--codexopt-hero-end: rgba(8, 47, 73, 0.85);
18+
--codexopt-card-border: rgba(148, 163, 184, 0.18);
19+
}
20+
21+
.codexopt-hero {
22+
padding: 2rem 1.25rem;
23+
margin: 0 0 1.5rem 0;
24+
border: 1px solid var(--codexopt-card-border);
25+
border-radius: 1.25rem;
26+
background: linear-gradient(135deg, var(--codexopt-hero-start), var(--codexopt-hero-end));
27+
}
28+
29+
.codexopt-hero h1 {
30+
margin-top: 0;
31+
margin-bottom: 0.5rem;
32+
}
33+
34+
.codexopt-lead {
35+
font-size: 1.12rem;
36+
max-width: 48rem;
37+
}
38+
39+
.codexopt-grid {
40+
display: grid;
41+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
42+
gap: 0.9rem;
43+
margin: 1.25rem 0 1.75rem 0;
44+
}
45+
46+
.codexopt-card {
47+
padding: 1rem;
48+
border: 1px solid var(--codexopt-card-border);
49+
border-radius: 1rem;
50+
background: color-mix(in srgb, var(--md-default-bg-color) 92%, transparent);
51+
}
52+
53+
.codexopt-card strong {
54+
display: block;
55+
margin-bottom: 0.35rem;
56+
}
57+
58+
.md-typeset .md-button {
59+
border-radius: 999px;
60+
}

mkdocs.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,37 @@ theme:
1010
logo: assets/codexopt_logo.png
1111
favicon: assets/codexopt_favicon.png
1212
features:
13+
- navigation.instant
1314
- navigation.sections
1415
- navigation.top
16+
- navigation.footer
1517
- content.code.copy
18+
- content.action.edit
1619
- search.suggest
1720
- search.highlight
1821
palette:
1922
- scheme: default
20-
primary: black
21-
accent: blue
23+
primary: custom
24+
accent: custom
25+
toggle:
26+
icon: material/weather-night
27+
name: Switch to dark mode
28+
- scheme: slate
29+
primary: custom
30+
accent: custom
31+
toggle:
32+
icon: material/weather-sunny
33+
name: Switch to light mode
34+
35+
extra:
36+
social:
37+
- icon: fontawesome/brands/github
38+
link: https://github.com/SuperagenticAI/CodexOpt
39+
- icon: material/play-box
40+
link: https://github.com/SuperagenticAI/codexopt-demo
41+
42+
extra_css:
43+
- stylesheets/extra.css
2244

2345
markdown_extensions:
2446
- admonition
@@ -31,6 +53,8 @@ markdown_extensions:
3153
- pymdownx.superfences
3254
- pymdownx.tabbed:
3355
alternate_style: true
56+
- pymdownx.critic
57+
- pymdownx.details
3458

3559
nav:
3660
- Home: index.md
@@ -40,4 +64,3 @@ nav:
4064
- Optimization: optimization.md
4165
- Demo Repo: demo.md
4266
- FAQ: faq.md
43-

0 commit comments

Comments
 (0)