@@ -6,8 +6,8 @@ import type * as Preset from "@docusaurus/preset-classic";
66
77const config : Config = {
88 title : "Plane" ,
9- tagline : "An easy, flexible project management software " ,
10- favicon : "https://media.docs.plane.so/favicon-32x32.png" ,
9+ tagline : "A modern project management tool " ,
10+ favicon : "https://media.docs.plane.so/logo/ favicon-32x32.png" ,
1111 trailingSlash : false ,
1212 // Set the production url of your site here
1313 url : "https://docs.plane.so" ,
@@ -64,6 +64,118 @@ const config: Config = {
6464 ] ,
6565 ] ,
6666
67+ scripts : [
68+ {
69+ src : "https://plausible.io/js/script.js" ,
70+ defer : true ,
71+ "data-domain" : "docs.plane.so" ,
72+ } ,
73+ {
74+ src : "https://cdn.cr-relay.com/v1/site/b1fcbcbd-67f6-4736-940f-033731801664/signals.js" ,
75+ async : true ,
76+ } ,
77+ ] ,
78+
79+ plugins : [
80+ [
81+ "posthog-docusaurus" ,
82+ {
83+ apiKey : "phc_HskAKGRy7x0BEoWfyeHzYWWzcMmKG9DCail7ot7WQkA" ,
84+ appUrl : "https://us.i.posthog.com" , // optional
85+ enableInDevelopment : false , // optional
86+ } ,
87+ ] ,
88+ [
89+ "@docusaurus/plugin-google-tag-manager" ,
90+ {
91+ containerId : "G-G578SD4VZD" ,
92+ } ,
93+ ] ,
94+ ] ,
95+
96+ headTags : [
97+ {
98+ tagName : "link" ,
99+ attributes : {
100+ rel : "preload" ,
101+ href : "/fonts/Nacelle/Nacelle-Light.otf" ,
102+ as : "font" ,
103+ type : "font/otf" ,
104+ crossorigin : "anonymous" ,
105+ } ,
106+ } ,
107+ {
108+ tagName : "link" ,
109+ attributes : {
110+ rel : "preload" ,
111+ href : "/fonts/Nacelle/Nacelle-Regular.otf" ,
112+ as : "font" ,
113+ type : "font/otf" ,
114+ crossorigin : "anonymous" ,
115+ } ,
116+ } ,
117+ {
118+ tagName : "link" ,
119+ attributes : {
120+ rel : "preload" ,
121+ href : "/fonts/Nacelle/Nacelle-SemiBold.otf" ,
122+ as : "font" ,
123+ type : "font/otf" ,
124+ crossorigin : "anonymous" ,
125+ } ,
126+ } ,
127+ {
128+ tagName : "link" ,
129+ attributes : {
130+ rel : "preload" ,
131+ href : "/fonts/Nacelle/Nacelle-Bold.otf" ,
132+ as : "font" ,
133+ type : "font/otf" ,
134+ crossorigin : "anonymous" ,
135+ } ,
136+ } ,
137+ {
138+ tagName : "link" ,
139+ attributes : {
140+ rel : "preload" ,
141+ href : "/fonts/IBM/IBMPlexMono-Light.ttf" ,
142+ as : "font" ,
143+ type : "font/ttf" ,
144+ crossorigin : "anonymous" ,
145+ } ,
146+ } ,
147+ {
148+ tagName : "link" ,
149+ attributes : {
150+ rel : "preload" ,
151+ href : "/fonts/IBM/IBMPlexMono-Regular.ttf" ,
152+ as : "font" ,
153+ type : "font/ttf" ,
154+ crossorigin : "anonymous" ,
155+ } ,
156+ } ,
157+ {
158+ tagName : "link" ,
159+ attributes : {
160+ rel : "preload" ,
161+ href : "/fonts/IBM/IBMPlexMono-SemiBold.ttf" ,
162+ as : "font" ,
163+ type : "font/ttf" ,
164+ crossorigin : "anonymous" ,
165+ } ,
166+ } ,
167+ {
168+ tagName : "link" ,
169+ attributes : {
170+ rel : "preload" ,
171+ href : "/fonts/IBM/IBMPlexMono-Bold.ttf" ,
172+ as : "font" ,
173+ type : "font/ttf" ,
174+ crossorigin : "anonymous" ,
175+ } ,
176+ } ,
177+ ] ,
178+
67179 themeConfig : {
68180 image : "https://media.docs.plane.so/logo.svg" ,
69181 docs : {
@@ -100,8 +212,8 @@ const config: Config = {
100212 title : "" ,
101213 logo : {
102214 alt : "Plane" ,
103- src : "https://media.docs.plane.so/logo/Plane.svg " ,
104- srcDark : "https://media.docs.plane.so/logo/Plane-white.svg " ,
215+ src : "https://media.docs.plane.so/logo/new-logo-white.png " ,
216+ srcDark : "https://media.docs.plane.so/logo/new-logo-dark.png " ,
105217 } ,
106218 items : [
107219 {
@@ -140,35 +252,6 @@ const config: Config = {
140252 type : "text/css" ,
141253 } ,
142254 ] ,
143-
144- scripts : [
145- {
146- src : "https://plausible.io/js/script.js" ,
147- defer : true ,
148- "data-domain" : "docs.plane.so" ,
149- } ,
150- {
151- src : "https://cdn.cr-relay.com/v1/site/b1fcbcbd-67f6-4736-940f-033731801664/signals.js" ,
152- async : true ,
153- } ,
154- ] ,
155-
156- plugins : [
157- [
158- "posthog-docusaurus" ,
159- {
160- apiKey : "phc_HskAKGRy7x0BEoWfyeHzYWWzcMmKG9DCail7ot7WQkA" ,
161- appUrl : "https://us.i.posthog.com" , // optional
162- enableInDevelopment : false , // optional
163- } ,
164- ] ,
165- [
166- "@docusaurus/plugin-google-tag-manager" ,
167- {
168- containerId : "G-G578SD4VZD" ,
169- } ,
170- ] ,
171- ] ,
172255} ;
173256
174257export default config ;
0 commit comments