-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathdocs-config.ts
More file actions
55 lines (50 loc) · 1.21 KB
/
docs-config.ts
File metadata and controls
55 lines (50 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { DocsConfig } from "./src/docs-config-types";
export default {
siteUrl: "https://prometheus.io",
// Docs to load from repo-local files.
localMarkdownSources: [
{
docsDir: "docs",
slugPrefix: "",
},
],
// Sources for docs to load from external repos (Prometheus, Alertmanager).
githubMarkdownSources: [
{
owner: "prometheus",
repo: "prometheus",
repoDocsDir: "docs",
slugPrefix: "prometheus",
minNumVersions: 10,
},
{
owner: "prometheus",
repo: "alertmanager",
repoDocsDir: "docs",
slugPrefix: "alerting",
minNumVersions: 8,
},
],
// Long-term support versions configuration.
ltsVersions: {
prometheus: ["3.5"],
},
// Repositories for the downloads page. The order in this file is the
// order in which the repos are displayed on the downloads page.
downloads: {
owner: "prometheus",
repos: [
"prometheus",
"alertmanager",
"blackbox_exporter",
"consul_exporter",
"graphite_exporter",
"memcached_exporter",
"mysqld_exporter",
"node_exporter",
"promlens",
"pushgateway",
"statsd_exporter",
],
},
} satisfies DocsConfig;