forked from PaloAltoNetworks/pan.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
executable file
·99 lines (99 loc) · 2.87 KB
/
docusaurus.config.js
File metadata and controls
executable file
·99 lines (99 loc) · 2.87 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const blogs = (module.exports = {
title: "Develop with Palo Alto Networks",
tagline:
"Explore our API Doc, Quickstarts, and Blog or dive right in and play in our sandbox. We have all the tools you needs to make the next big security innovation. SDKs in your favorite languages, detailed walk-throughs for sample apps, and all the resources you’ll need to flourish.",
url: "https://pan.dev",
baseUrl: "/",
favicon: "img/parent_favicon.png",
organizationName: "PaloAltoNetworks", // Usually your GitHub org/user name.
projectName: "pan.dev", // Usually your repo name.
themeConfig: {
colorMode: {
defaultMode: "light",
disableSwitch: true,
},
algolia: {
apiKey: "cc0f2da5c80d2fb8dedb7ef9b56b52f2",
indexName: "pan",
searchParameters: {
typoTolerance: false,
facetFilters: [
["tags:prisma", "tags:strata", "tags:xsoar", "tags:cortex"],
],
}, // Optional, if provided by Algolia
},
hideOnScroll: true,
sidebarCollapsible: true,
navbar: {
title: "",
logo: {
alt: "Palo Alto Networks for Developers",
src: "img/PANW_Parent_Logo_White.svg",
},
items: [
{
to: "https://gallery.pan.dev",
label: "Code Gallery",
position: "right",
},
{
to: "https://medium.com/palo-alto-networks-developer-blog",
label: "Blog",
position: "right",
},
],
},
footer: {
style: "light",
logo: {
alt: "Palo Alto Networks for developers",
src: "img/PANW_Parent_Logo_Black.svg",
},
copyright: `Copyright © ${new Date().getFullYear()} Palo Alto Networks, Inc.`,
},
gtag: {
trackingID: "GTM-PLXD79N",
},
},
themes: [require.resolve("@docusaurus/theme-live-codeblock")],
presets: [
[
require.resolve("@docusaurus/preset-classic"),
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/PaloAltoNetworks/prisma.pan.dev/tree/master/",
routeBasePath: "docs",
include: ["**/*.md", "**/*.mdx"], // Extensions to include.
docLayoutComponent: "@theme/DocPage",
docItemComponent: "@theme/DocItem",
remarkPlugins: [],
rehypePlugins: [],
path: "docs",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
plugins: [
[
"@docusaurus/plugin-sitemap",
{
id: "prisma-sitemap",
changefreq: "weekly",
priority: 0.5,
},
],
],
});