Skip to content

Commit 2bcf8bf

Browse files
committed
docs: add community spotlight
1 parent aa8c955 commit 2bcf8bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+486
-201
lines changed

.github/workflows/contributors.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Update Contributors
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *' # Every day at 00:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
update:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/[email protected]
13+
14+
- name: Install dependencies
15+
run: sudo apt-get update && sudo apt-get install -y jq curl
16+
17+
- name: Run update contributors script
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
run: |
21+
chmod +x ./scripts/update-contributors.sh
22+
./scripts/update-contributors.sh
23+
24+
- name: Commit and push if updated
25+
run: |
26+
git config user.name "github-actions[bot]"
27+
git config user.email "github-actions[bot]@users.noreply.github.com"
28+
git add ./docs/partials/contributors-list.md
29+
git diff --cached --quiet || git commit -m "chore(docs): update contributors list"
30+
git push

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.cache
23
.idea
34
.tmp
45
junit.xml

docs/.contributorsignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dependabot-preview[bot]
2+
dependabot[bot]
3+
github-actions[bot]

docs/.contributorssince

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-04-20T08:08:34Z

docs/.vitepress/config/en.ts

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineConfig({
1111
nav: [
1212
{
1313
link: 'https://github.com/sponsors/hey-api',
14-
text: 'Sponsor Hey API 💰',
14+
text: 'Sponsor Hey API',
1515
},
1616
],
1717
sidebar: [
@@ -41,7 +41,7 @@ export default defineConfig({
4141
text: 'Configuration',
4242
},
4343
],
44-
text: '@hey-api/openapi-ts',
44+
text: 'Introduction',
4545
},
4646
{
4747
items: [
@@ -229,6 +229,19 @@ export default defineConfig({
229229
],
230230
text: 'Guides and Concepts',
231231
},
232+
{
233+
items: [
234+
{
235+
link: '/openapi-ts/community/spotlight',
236+
text: 'Spotlight',
237+
},
238+
{
239+
link: '/openapi-ts/community/contributing',
240+
text: 'Contributing',
241+
},
242+
],
243+
text: 'Community',
244+
},
232245
{
233246
items: [
234247
{
@@ -245,23 +258,15 @@ export default defineConfig({
245258
text: 'Migrating',
246259
},
247260
{
248-
link: '/license',
261+
link: '/openapi-ts/license',
249262
text: 'License',
250263
},
251-
{
252-
link: '/about',
253-
text: 'Philosophy',
254-
},
255-
{
256-
link: '/contributing',
257-
text: 'Contributing',
258-
},
259264
{
260265
link: 'https://github.com/orgs/hey-api/discussions/1495',
261266
text: 'Roadmap',
262267
},
263268
],
264-
text: '@hey-api',
269+
text: '@hey-api/openapi-ts',
265270
},
266271
],
267272
},

docs/.vitepress/theme/Layout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const { Layout } = DefaultTheme;
2929
</a>
3030
</div> -->
3131
</template>
32-
<template #home-features-before>
32+
<!-- <template #home-features-before>
3333
<a
3434
aria-label="Send an email to Lubos"
3535
class="migration"
@@ -38,7 +38,7 @@ const { Layout } = DefaultTheme;
3838
<p>Migrate your existing TypeScript SDKs</p>
3939
<p>Contact us</p>
4040
</a>
41-
</template>
41+
</template> -->
4242
</Layout>
4343
</template>
4444

docs/.vitepress/theme/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ a.migration:focus {
277277
padding: 0.2rem 0;
278278
}
279279

280+
.contributors-list ul {
281+
margin-bottom: 1.3rem;
282+
margin-top: 1.3rem;
283+
}
284+
280285
@media (min-width: 640px) {
281286
.VPFeatures.VPHomeFeatures > .container > .items {
282287
gap: 1rem;
@@ -287,6 +292,10 @@ a.migration:focus {
287292
.sponsors-list > ul {
288293
flex-direction: row;
289294
}
295+
296+
.contributors-list ul {
297+
columns: 2;
298+
}
290299
}
291300

292301
@media (min-width: 892px) {
@@ -309,3 +318,7 @@ a.migration:focus {
309318
padding: 0;
310319
width: 100%;
311320
}
321+
322+
.VPNavBar.has-sidebar > .wrapper > .container > .title {
323+
background-color: var(--vp-sidebar-bg-color);
324+
}

docs/about.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

docs/data/coreTeam.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export const coreTeam = [
2+
{
3+
avatar: 'https://github.com/mrlubos.png',
4+
links: [{ icon: 'github', link: 'https://github.com/mrlubos' }],
5+
name: 'Lubos',
6+
title: 'Hey API',
7+
},
8+
];

docs/data/hallOfFame.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
export const hallOfFame = [
2+
{
3+
avatar: 'https://github.com/ferdikoomen.png',
4+
links: [{ icon: 'github', link: 'https://github.com/ferdikoomen' }],
5+
name: 'Ferdi Koomen',
6+
title: 'OpenAPI TypeScript Codegen',
7+
},
8+
{
9+
avatar: 'https://github.com/nicolas-chaulet.png',
10+
links: [{ icon: 'github', link: 'https://github.com/nicolas-chaulet' }],
11+
name: 'Nicolas Chaulet',
12+
title: 'Made the Hey API fork',
13+
},
14+
{
15+
avatar: 'https://github.com/jordanshatford.png',
16+
links: [{ icon: 'github', link: 'https://github.com/jordanshatford' }],
17+
name: 'Jordan Shatford',
18+
title: 'Maintainer and Contributor',
19+
},
20+
];

0 commit comments

Comments
 (0)