forked from cloudflare/miniflare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs-config.js
49 lines (47 loc) · 1.34 KB
/
docs-config.js
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
const fs = require("fs");
const path = require("path");
const logoSVGPath = path.resolve(__dirname, "..", "miniflare.svg");
const logoSVGContent = fs.readFileSync(logoSVGPath, "utf8");
module.exports = {
product: "Miniflare",
pathPrefix: "/",
productIconKey: "miniflare",
logoSVGContent,
contentRepo: "cloudflare/miniflare",
contentRepoFolder: "../master/docs", // "../" removes "production/"
externalLinks: [
{
title: "Workers home",
url: "https://workers.cloudflare.com",
},
{
title: "Workers docs",
url: "https://developers.cloudflare.com/workers/",
},
{
title: "GitHub",
url: "https://github.com/cloudflare/miniflare",
},
{
title: "Discord",
url: "https://discord.gg/cloudflaredev",
},
],
search: {
// TODO: migrate to https://docsearch.algolia.com/docs/migrating-from-legacy/
// appId: AYF9TLWKTY
// apiKey: fd375d87d44c5b94352fa1ddd580ebdc
// indexName: miniflare
apiKey: "f0ffcd9dba78827de321d7fce21a8181",
indexName: "miniflare",
algoliaOptions: {},
},
siteMetadata: {
title: "Miniflare",
description:
"Fun, full-featured, fully-local simulator for Cloudflare Workers",
author: "@cloudflare",
url: "https://miniflare.dev",
image: "https://blog.cloudflare.com/content/images/2022/01/image1-5.png",
},
};