1- const lightCodeTheme = require ( ' prism-react-renderer/themes/github' ) ;
2- const darkCodeTheme = require ( ' prism-react-renderer/themes/dracula' ) ;
1+ const lightCodeTheme = require ( " prism-react-renderer/themes/github" ) ;
2+ const darkCodeTheme = require ( " prism-react-renderer/themes/dracula" ) ;
33
44/** @type {import('@docusaurus/types').DocusaurusConfig } */
55module . exports = {
6- title : 'Parca' ,
7- tagline : 'Open Source Infrastructure-wide continuous profiling' ,
8- url : 'https://parca.dev' ,
9- baseUrl : '/docs/' ,
10- onBrokenLinks : 'throw' ,
11- onBrokenMarkdownLinks : 'warn' ,
12- favicon : 'img/favicon.svg' ,
13- organizationName : 'facebook' , // Usually your GitHub org/user name.
14- projectName : 'docusaurus' , // Usually your repo name.
15- scripts : [ { src : 'https://plausible.io/js/plausible.js' , async : true , defer : true , 'data-domain' : 'parca.dev' } ] ,
6+ title : "Parca" ,
7+ tagline : "Open Source Infrastructure-wide continuous profiling" ,
8+ url : "https://parca.dev" ,
9+ baseUrl : "/docs/" ,
10+ onBrokenLinks : "throw" ,
11+ onBrokenMarkdownLinks : "warn" ,
12+ favicon : "img/favicon.svg" ,
13+ organizationName : "facebook" , // Usually your GitHub org/user name.
14+ projectName : "docusaurus" , // Usually your repo name.
15+ scripts : [
16+ {
17+ src : "https://plausible.io/js/plausible.js" ,
18+ async : true ,
19+ defer : true ,
20+ "data-domain" : "parca.dev" ,
21+ } ,
22+ ] ,
1623 plugins : [
1724 require . resolve ( "./docusaurus-github-releases-plugin/src/index.js" ) ,
1825 ] ,
1926 themeConfig : {
2027 announcementBar : {
21- id : 'github_star' ,
22- content : '★ <a href="https://github.com/parca-dev/parca">If you like Parca, give it a star on GitHub!</a> ★' ,
23- backgroundColor : '#64b5f6' , // Defaults to `#fff`.
24- textColor : '#091E42' , // Defaults to `#000`.
28+ id : "github_star" ,
29+ content :
30+ '★ <a href="https://github.com/parca-dev/parca">If you like Parca, give it a star on GitHub!</a> ★' ,
31+ backgroundColor : "#64b5f6" , // Defaults to `#fff`.
32+ textColor : "#091E42" , // Defaults to `#000`.
2533 isCloseable : true , // Defaults to `true`.
2634 } ,
27- metadata : [ { name : ' og:image' , content : ' https://parca.dev/img/logo.png' } ] ,
35+ metadata : [ { name : " og:image" , content : " https://parca.dev/img/logo.png" } ] ,
2836 colorMode : {
2937 disableSwitch : true ,
3038 } ,
3139 navbar : {
3240 logo : {
33- alt : ' Parca Logo' ,
34- src : ' img/logo.svg' ,
35- href : ' https://parca.dev/' ,
36- target : ' _self' ,
41+ alt : " Parca Logo" ,
42+ src : " img/logo.svg" ,
43+ href : " https://parca.dev/" ,
44+ target : " _self" ,
3745 } ,
3846 items : [
3947 {
40- type : 'doc' ,
41- docId : 'overview' ,
42- position : 'left' ,
43- label : 'Documentation' ,
48+ type : "doc" ,
49+ docId : "binary" ,
50+ position : "left" ,
51+ label : "Download" ,
52+ } ,
53+ {
54+ type : "doc" ,
55+ docId : "overview" ,
56+ position : "left" ,
57+ label : "Documentation" ,
4458 } ,
4559 {
46- type : ' doc' ,
47- docId : ' binary' ,
48- position : ' left' ,
49- label : ' Tutorial' ,
50- } ,
60+ type : " doc" ,
61+ docId : " binary" ,
62+ position : " left" ,
63+ label : " Tutorial" ,
64+ } ,
5165 // {to: '/blog', label: 'Blog', position: 'left'},
5266 {
53- href : ' https://github.com/parca-dev/parca' ,
54- label : ' GitHub' ,
55- position : ' right' ,
67+ href : " https://github.com/parca-dev/parca" ,
68+ label : " GitHub" ,
69+ position : " right" ,
5670 } ,
5771 {
58- href : ' https://twitter.com/ParcaDev' ,
59- label : ' Twitter' ,
60- position : ' right' ,
72+ href : " https://twitter.com/ParcaDev" ,
73+ label : " Twitter" ,
74+ position : " right" ,
6175 } ,
6276 {
63- href : ' https://discord.gg/ZgUpYgpzXy' ,
64- label : ' Discord' ,
65- position : ' right' ,
66- } ,
77+ href : " https://discord.gg/ZgUpYgpzXy" ,
78+ label : " Discord" ,
79+ position : " right" ,
80+ } ,
6781 ] ,
6882 } ,
6983 footer : {
70- style : ' dark' ,
84+ style : " dark" ,
7185 links : [
7286 {
73- title : ' Docs' ,
87+ title : " Docs" ,
7488 items : [
7589 {
76- label : ' Overview' ,
77- to : ' /docs/overview' ,
90+ label : " Overview" ,
91+ to : " /docs/overview" ,
7892 } ,
7993 {
80- label : ' FAQ' ,
81- to : ' /docs/faq' ,
94+ label : " FAQ" ,
95+ to : " /docs/faq" ,
8296 } ,
8397 {
84- label : ' Governance' ,
85- to : ' /docs/governance' ,
98+ label : " Governance" ,
99+ to : " /docs/governance" ,
86100 } ,
87101 ] ,
88102 } ,
89103 {
90- title : ' Quick Start' ,
104+ title : " Quick Start" ,
91105 items : [
92106 {
93- label : ' Parca from Binary' ,
94- to : ' /docs/binary' ,
107+ label : " Parca from Binary" ,
108+ to : " /docs/binary" ,
95109 } ,
96110 {
97- label : ' Parca from Snapcraft' ,
98- to : ' /docs/snap' ,
111+ label : " Parca from Snapcraft" ,
112+ to : " /docs/snap" ,
99113 } ,
100114 {
101- label : ' Parca in Kubernetes' ,
102- to : ' /docs/kubernetes' ,
115+ label : " Parca in Kubernetes" ,
116+ to : " /docs/kubernetes" ,
103117 } ,
104118 ] ,
105119 } ,
106120 {
107- title : ' Community' ,
121+ title : " Community" ,
108122 items : [
109123 //{
110124 // label: 'Stack Overflow',
111125 // href: 'https://stackoverflow.com/questions/tagged/docusaurus',
112126 //},
113127 {
114- label : ' Discord' ,
115- href : ' https://discord.gg/ZgUpYgpzXy' ,
128+ label : " Discord" ,
129+ href : " https://discord.gg/ZgUpYgpzXy" ,
116130 } ,
117131 {
118- label : ' Twitter' ,
119- href : ' https://twitter.com/ParcaDev' ,
132+ label : " Twitter" ,
133+ href : " https://twitter.com/ParcaDev" ,
120134 } ,
121135 {
122- label : ' YouTube' ,
123- href : ' https://www.youtube.com/channel/UCRrqAGuajRqIX_E_arNnYCw' ,
136+ label : " YouTube" ,
137+ href : " https://www.youtube.com/channel/UCRrqAGuajRqIX_E_arNnYCw" ,
124138 } ,
125139 ] ,
126140 } ,
127141 {
128- title : ' More' ,
142+ title : " More" ,
129143 items : [
130144 //{
131145 // label: 'Blog',
132146 // to: '/blog',
133147 //},
134148 {
135- label : ' GitHub' ,
136- href : ' https://github.com/parca-dev/parca' ,
149+ label : " GitHub" ,
150+ href : " https://github.com/parca-dev/parca" ,
137151 } ,
138152 {
139153 html : `
@@ -150,27 +164,26 @@ module.exports = {
150164 //theme: lightCodeTheme,
151165 darkTheme : darkCodeTheme ,
152166 } ,
153- algolia : {
154- apiKey : ' 525d17aaac0e93dea054f39af7b692bd' ,
155- indexName : ' parca' ,
156- appId : ' BH4D9OD16A' ,
157- contextualSearch : false ,
158- } ,
167+ algolia : {
168+ apiKey : " 525d17aaac0e93dea054f39af7b692bd" ,
169+ indexName : " parca" ,
170+ appId : " BH4D9OD16A" ,
171+ contextualSearch : false ,
172+ } ,
159173 } ,
160174 presets : [
161175 [
162- ' @docusaurus/preset-classic' ,
176+ " @docusaurus/preset-classic" ,
163177 {
164178 docs : {
165- routeBasePath : '/' ,
166- sidebarPath : require . resolve ( ' ./sidebars.js' ) ,
179+ routeBasePath : "/" ,
180+ sidebarPath : require . resolve ( " ./sidebars.js" ) ,
167181 // Please change this to your repo.
168- editUrl :
169- 'https://github.com/parca-dev/parca.dev/edit/main/' ,
182+ editUrl : "https://github.com/parca-dev/parca.dev/edit/main/" ,
170183 } ,
171184 blog : false ,
172185 theme : {
173- customCss : require . resolve ( ' ./src/css/custom.css' ) ,
186+ customCss : require . resolve ( " ./src/css/custom.css" ) ,
174187 } ,
175188 } ,
176189 ] ,
0 commit comments