1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00
Files
docs/docs-config.ts

54 lines
1.2 KiB
TypeScript
Raw Normal View History

import { DocsConfig } from "./src/docs-config-types";
export default {
// 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: ["2.53"],
},
// Repositories for the downloads page. The order in this file is the
// order in which they will be 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;