From 0c7126faed6616b2d14e97d672bee7616d382d16 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Mon, 28 Nov 2022 00:28:41 +0000 Subject: [PATCH] Update mkdocs --- docs/manifest.webmanifest | 15 ----------- docs/requirements.txt | 6 ++--- mkdocs.yml | 56 ++++++++++++++++++++++++--------------- 3 files changed, 37 insertions(+), 40 deletions(-) delete mode 100644 docs/manifest.webmanifest diff --git a/docs/manifest.webmanifest b/docs/manifest.webmanifest deleted file mode 100644 index 7280743cd..000000000 --- a/docs/manifest.webmanifest +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "LinuxServer.io", - "short_name": "ls.io", - "description": "Welcome to the home of the LinuxServer.io documentation!", - "icons": [ - { - "src": "https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media", - "sizes": "256x256", - "type": "image/png" - } - ], - "theme_color": "#546d78", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/docs/requirements.txt b/docs/requirements.txt index 7d444cdc3..30072f43c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -mkdocs>=1.1.2 -mkdocs-material>=6.1.0 -mkdocs-redirects>=1.0.1 +mkdocs-material==8.5.10 +mkdocs-minify-plugin==0.6.1 +mkdocs-redirects==1.2.0 diff --git a/mkdocs.yml b/mkdocs.yml index b896c24dd..6c04b2799 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,35 +1,47 @@ ---- site_name: LinuxServer.io -site_description: Welcome to the home of the LinuxServer.io documentation! -site_author: LinuxServer.io site_url: https://docs.linuxserver.io +site_author: LinuxServer.io +site_description: Welcome to the home of the LinuxServer.io documentation! -repo_url: https://github.com/linuxserver/docker-documentation repo_name: linuxserver/docker-documentation +repo_url: https://github.com/linuxserver/docker-documentation edit_uri: "" -copyright: Copyright © 2021 LinuxServer.io - -extra: - manifest: manifest.webmanifest - social: - - icon: fontawesome/brands/github-square - link: https://github.com/linuxserver - - icon: fontawesome/brands/gitlab - link: https://gitlab.com/linuxserver.io - - icon: fontawesome/brands/twitter-square - link: https://twitter.com/linuxserverio - -plugins: - - search +copyright: Copyright © 2022 LinuxServer.io theme: name: material + language: en features: - navigation.instant - language: en + palette: + - media: "(prefers-color-scheme: light)" + scheme: default + primary: purple + accent: indigo + toggle: + icon: material/toggle-switch-off-outline + name: Switch to dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: purple + accent: indigo + toggle: + icon: material/toggle-switch + name: Switch to light mode favicon: https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media logo: https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media - palette: - primary: purple - accent: indigo + +plugins: + - search + - minify: + minify_html: true + +extra: + social: + - icon: fontawesome/brands/square-github + link: https://github.com/linuxserver + - icon: fontawesome/brands/square-gitlab + link: https://gitlab.com/linuxserver.io + - icon: fontawesome/brands/square-twitter + link: https://twitter.com/linuxserverio