@@ -3,26 +3,13 @@ export interface Author {
33 name : string ;
44 role : string ;
55 github : string ;
6- /** Optional: links to a personal or company profile page */
76 url ?: string ;
8- /** Optional: relative or absolute avatar URL */
97 avatar ?: string ;
108}
119
1210const DEFAULT_AUTHOR_ID = "abstract-machines" ;
1311
14- /**
15- * Central author registry.
16- *
17- * Usage in MDX frontmatter:
18- * authors: [abstract-machines] ← org-level default
19- * authors: [alice, bob] ← named contributors
20- *
21- * Add real team members below. The "abstract-machines" entry is the
22- * safe fallback for any page without a named individual author.
23- */
2412export const AUTHORS : Record < string , Author > = {
25- // ── Org-level default ──────────────────────────────────────────────────────
2613 "abstract-machines" : {
2714 id : "abstract-machines" ,
2815 name : "Abstract Machines" ,
@@ -31,8 +18,6 @@ export const AUTHORS: Record<string, Author> = {
3118 url : "https://absmach.eu" ,
3219 avatar : "/abstract-machines.svg" ,
3320 } ,
34-
35- // ── Individual contributors ────────────────────────────────────────────────
3621 drasko : {
3722 id : "drasko" ,
3823 name : "Drasko Draskovic" ,
@@ -67,7 +52,6 @@ export const AUTHORS: Record<string, Author> = {
6752 } ,
6853} ;
6954
70- /** Returns authors for a page, falling back to the org author if none match. */
7155export function resolveAuthors ( ids ?: string [ ] ) : Author [ ] {
7256 const defaultAuthor = AUTHORS [ DEFAULT_AUTHOR_ID ] ;
7357 if ( ! ids || ids . length === 0 ) {
0 commit comments