11import React from "react" ;
22import { DocsThemeConfig , useConfig } from "nextra-theme-docs" ;
33import { useRouter } from "next/router" ;
4- import { GoogleAnalytics } from ' @next/third-parties/google'
4+ import { GoogleAnalytics } from " @next/third-parties/google" ;
55
66const config : DocsThemeConfig = {
77 head : ( ) => {
@@ -10,10 +10,9 @@ const config: DocsThemeConfig = {
1010 const defaultDescription = "Documentation for VZN Scripts assets" ;
1111 const url = `https://docs.vzn-scripts.com/${ asPath } ` ;
1212
13- const googleId = "G-XV58K6R2PX"
14-
15- const fullTitle = `${ title } | VZN Scripts Docs`
13+ const googleId = "G-XV58K6R2PX" ;
1614
15+ const fullTitle = `${ title } | VZN Scripts Docs` ;
1716
1817 return (
1918 < >
@@ -22,23 +21,11 @@ const config: DocsThemeConfig = {
2221 < link rel = "icon" type = "image/png" href = "/logo.png" />
2322
2423 < meta httpEquiv = "Content-Language" content = "en" />
25- < meta
26- name = "description"
27- content = { frontMatter . description || defaultDescription }
28- />
29- < meta
30- name = "og:title"
31- content = { fullTitle || "VZN Scripts Documentation" }
32- />
24+ < meta name = "description" content = { frontMatter . description || defaultDescription } />
25+ < meta name = "og:title" content = { fullTitle || "VZN Scripts Documentation" } />
3326 < meta name = "og:url" content = { url } />
34- < meta
35- name = "og:description"
36- content = { frontMatter . description || defaultDescription }
37- />
38- < meta
39- name = "viewport"
40- content = "width=device-width, initial-scale=1.0"
41- />
27+ < meta name = "og:description" content = { frontMatter . description || defaultDescription } />
28+ < meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
4229 </ >
4330 ) ;
4431 } ,
@@ -54,8 +41,7 @@ const config: DocsThemeConfig = {
5441 style = { {
5542 width : "38px" ,
5643 height : "38px" ,
57- background :
58- "url('https://avatars.githubusercontent.com/u/175264237?s=38') no-repeat left" ,
44+ background : "url('https://avatars.githubusercontent.com/u/175264237?s=38') no-repeat left" ,
5945 backgroundSize : "38px" ,
6046 borderRadius : "50%" ,
6147 } }
@@ -75,19 +61,21 @@ const config: DocsThemeConfig = {
7561 chat : {
7662 link : "https://discord.gg/wqzrVM3QYk" ,
7763 } ,
78- docsRepositoryBase :
79- "https://github.com/VZN-Scripts/vzn-scripts.github.io/blob/main" ,
64+ docsRepositoryBase : "https://github.com/VZN-Scripts/vzn-scripts.github.io/blob/main" ,
8065 footer : {
8166 content : < > VZN-Scripts</ > ,
8267 } ,
8368 color : {
8469 hue : 203 ,
85- saturation : 100
70+ saturation : 100 ,
71+ } ,
72+ sidebar : {
73+ defaultMenuCollapseLevel : 1 ,
8674 } ,
8775 toc : {
8876 backToTop : true ,
8977 } ,
90- navigation : true
78+ navigation : true ,
9179} ;
9280
9381export default config ;
0 commit comments