Skip to content

Commit a682c64

Browse files
Add "Request a Repo" feature to the repos homepage
Add a GitHub issue template with a structured form for anyone to request a public repository be added to the architecture docs. Add a styled "Request a Repo" button in the site header nav that links directly to the issue template. Closes supermodeltools/arch-docs#13
1 parent 0b24b41 commit a682c64

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Request a Repository
2+
description: Request a public repository to be added to the architecture docs homepage
3+
title: "[Repo Request] "
4+
labels: ["repo-request"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a repository! We'll review your request and add it if it's a good fit.
10+
11+
- type: input
12+
id: repo_url
13+
attributes:
14+
label: Repository URL
15+
description: Full GitHub URL of the public repository
16+
placeholder: "https://github.com/owner/repo"
17+
validations:
18+
required: true
19+
20+
- type: dropdown
21+
id: category
22+
attributes:
23+
label: Category
24+
description: Which category best fits this repo?
25+
options:
26+
- "Community"
27+
- "Supermodel Open Source"
28+
validations:
29+
required: true
30+
31+
- type: input
32+
id: pill_label
33+
attributes:
34+
label: Tag / Label
35+
description: A short tag for the repo card (e.g. "Frontend", "Backend", "AI/ML", "DevOps")
36+
placeholder: "Frontend"
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: description
42+
attributes:
43+
label: Description
44+
description: A one-line description of the repository
45+
placeholder: "A fast, modern web framework for building APIs"
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
id: reason
51+
attributes:
52+
label: Why should this repo be added?
53+
description: Any additional context on why this repo would be a good addition
54+
placeholder: "Popular project with complex architecture that would benefit from arch docs"
55+
validations:
56+
required: false

generate-index.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,18 @@ a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; b
196196
.site-nav { display: flex; gap: 16px; align-items: center; }
197197
.site-nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
198198
.site-nav a:hover { color: var(--text); text-decoration: none; }
199+
.request-btn {
200+
color: var(--accent-light) !important;
201+
border: 1px solid var(--accent);
202+
border-radius: var(--radius);
203+
padding: 6px 12px;
204+
transition: background 0.2s, color 0.2s;
205+
}
206+
.request-btn:hover {
207+
background: var(--accent);
208+
color: #fff !important;
209+
text-decoration: none !important;
210+
}
199211
.hero {
200212
padding: 64px 0 48px;
201213
text-align: center;
@@ -361,6 +373,7 @@ a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; b
361373
<a href="https://supermodeltools.com">Website</a>
362374
<a href="https://github.com/supermodeltools">GitHub</a>
363375
<a href="https://x.com/supermodeltools">X</a>
376+
<a href="https://github.com/supermodeltools/supermodeltools.github.io/issues/new?template=request-repo.yml" class="request-btn">+ Request a Repo</a>
364377
</nav>
365378
</div>
366379
</header>

0 commit comments

Comments
 (0)