Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Commit 7370f8f

Browse files
committed
remove obsolete comments
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
1 parent 4037697 commit 7370f8f

6 files changed

Lines changed: 0 additions & 37 deletions

File tree

scripts/indexnow.mjs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/**
2-
* IndexNow URL submission script.
3-
*
4-
* Runs post-deploy in CI. Reads the live sitemap.xml and submits all URLs
5-
* to IndexNow (Bing, Yandex). Google crawls IndexNow-submitted URLs via
6-
* its own pipeline.
7-
*
8-
* Prerequisites:
9-
* 1. Register a key at https://www.indexnow.org/
10-
* 2. Set INDEXNOW_KEY in GitHub Actions secrets
11-
* 3. Place public/<key>.txt containing only the key value
12-
*
13-
* Usage: node scripts/indexnow.mjs
14-
*/
15-
161
const SITE_URL =
172
process.env.NEXT_PUBLIC_BASE_URL || "https://propeller.absmach.eu";
183
const KEY = process.env.INDEXNOW_KEY;
@@ -62,5 +47,4 @@ if (urls.length === 0) {
6247
process.exit(0);
6348
}
6449

65-
// IndexNow accepts up to 10,000 URLs per request.
6650
await submit(urls);

src/components/doc-attribution.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import type { Author } from "@/lib/authors";
55

66
interface DocAttributionProps {
77
authors: Author[];
8-
/** ISO date string — use git commit date or MDX frontmatter lastModified */
98
lastModified?: string;
109
}
1110

src/lib/authors.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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

1210
const 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-
*/
2412
export 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. */
7155
export function resolveAuthors(ids?: string[]): Author[] {
7256
const defaultAuthor = AUTHORS[DEFAULT_AUTHOR_ID];
7357
if (!ids || ids.length === 0) {

src/lib/openapi.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { createOpenAPI } from "fumadocs-openapi/server";
22

33
export const openapi = createOpenAPI({
4-
// the OpenAPI schema, you can also give it an external URL.
54
input: ["./content/openapi.yaml"],
65
});

src/lib/source.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { docs } from "fumadocs-mdx:collections/server";
22
import { type InferPageType, loader } from "fumadocs-core/source";
33
import { openapiPlugin } from "fumadocs-openapi/server";
44

5-
// See https://fumadocs.dev/docs/headless/source-api for more info
65
export const source = loader({
76
baseUrl: "/docs",
87
source: docs.toFumadocsSource(),

src/scripts/generate-docs.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ import { openapi } from "@/lib/openapi";
44
void generateFiles({
55
input: openapi,
66
output: "./content/docs/api",
7-
// we recommend to enable it
8-
// make sure your endpoint description doesn't break MDX syntax.
97
includeDescription: true,
108
});

0 commit comments

Comments
 (0)