diff --git a/.prettierignore b/.prettierignore index 90f726888..40e5b33e1 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,5 @@ dist .vscode **/.DS_Store -node_modules \ No newline at end of file +node_modules +docSite/ \ No newline at end of file diff --git a/docSite/layouts/partials/docs/favicon.html b/docSite/layouts/partials/docs/head/favicon.html similarity index 56% rename from docSite/layouts/partials/docs/favicon.html rename to docSite/layouts/partials/docs/head/favicon.html index 0e386dfd3..0de4ed2a0 100644 --- a/docSite/layouts/partials/docs/favicon.html +++ b/docSite/layouts/partials/docs/head/favicon.html @@ -1,18 +1,18 @@ {{ if os.FileExists "static/favicon.ico" -}} - + {{ end -}} {{ if os.FileExists "static/favicon.svg" -}} - + {{ end -}} {{ if os.FileExists "static/apple-touch-icon.png" -}} - + {{ end -}} {{ if os.FileExists "static/favicon-32x32.png" -}} - + {{ end -}} {{ if os.FileExists "static/favicon-16x16.png" -}} - + {{ end -}} {{ if os.FileExists "static/site.webmanifest" -}} - + {{ end -}} \ No newline at end of file diff --git a/docSite/layouts/partials/head/favicon.html b/docSite/layouts/partials/head/favicon.html new file mode 100644 index 000000000..0de4ed2a0 --- /dev/null +++ b/docSite/layouts/partials/head/favicon.html @@ -0,0 +1,18 @@ +{{ if os.FileExists "static/favicon.ico" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon.svg" -}} + +{{ end -}} +{{ if os.FileExists "static/apple-touch-icon.png" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon-32x32.png" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon-16x16.png" -}} + +{{ end -}} +{{ if os.FileExists "static/site.webmanifest" -}} + +{{ end -}} \ No newline at end of file diff --git a/docSite/static/docs/android-chrome-192x192.png b/docSite/static/docs/android-chrome-192x192.png deleted file mode 100644 index 549846bdc..000000000 Binary files a/docSite/static/docs/android-chrome-192x192.png and /dev/null differ diff --git a/docSite/static/docs/android-chrome-256x256.png b/docSite/static/docs/android-chrome-256x256.png deleted file mode 100644 index 4b5c520e7..000000000 Binary files a/docSite/static/docs/android-chrome-256x256.png and /dev/null differ diff --git a/docSite/static/docs/android-chrome-512x512.png b/docSite/static/docs/android-chrome-512x512.png deleted file mode 100644 index 3fd0c8784..000000000 Binary files a/docSite/static/docs/android-chrome-512x512.png and /dev/null differ diff --git a/docSite/static/docs/apple-touch-icon.png b/docSite/static/docs/apple-touch-icon.png deleted file mode 100644 index 2258debc2..000000000 Binary files a/docSite/static/docs/apple-touch-icon.png and /dev/null differ diff --git a/docSite/static/docs/favicon-16x16.png b/docSite/static/docs/favicon-16x16.png deleted file mode 100644 index db96f84ad..000000000 Binary files a/docSite/static/docs/favicon-16x16.png and /dev/null differ diff --git a/docSite/static/docs/favicon-32x32.png b/docSite/static/docs/favicon-32x32.png deleted file mode 100644 index 6505e3afe..000000000 Binary files a/docSite/static/docs/favicon-32x32.png and /dev/null differ diff --git a/docSite/static/docs/favicon.ico b/docSite/static/docs/favicon.ico deleted file mode 100644 index c37991b15..000000000 Binary files a/docSite/static/docs/favicon.ico and /dev/null differ diff --git a/docSite/static/docs/favicon.svg b/docSite/static/docs/favicon.svg deleted file mode 100644 index 2a4b1e7a9..000000000 --- a/docSite/static/docs/favicon.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/docSite/static/docs/site.webmanifest b/docSite/static/docs/site.webmanifest deleted file mode 100644 index b20abb7cb..000000000 --- a/docSite/static/docs/site.webmanifest +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "", - "short_name": "", - "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/docSite/static/site.webmanifest b/docSite/static/site.webmanifest index b20abb7cb..cac41957b 100644 --- a/docSite/static/site.webmanifest +++ b/docSite/static/site.webmanifest @@ -1,19 +1,19 @@ { - "name": "", - "short_name": "", - "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" + "name": "FastGPT", + "short_name": "FastGPT", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" }