fix docsify

Louis Lam 2021-11-03 23:34:41 +08:00
parent bcc4faa67e
commit 224b1a422f
3 changed files with 21 additions and 5 deletions

@ -1,7 +1,14 @@
RewriteEngine On
RewriteRule ^README.md$ Home.md [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
<FilesMatch "\.(md)$">
Header set Cache-Control "max-age=86400, public"
</FilesMatch>

@ -1,4 +1,15 @@
* **Introduction**
* [Welcome](/Home.md)
* [Home](README.md)
* [How to Install](🔧-How-to-Install.md)
* [How to Update](🆙-How-to-Update.md)
* [Notification Methods](Notification-Methods.md)
* **Advanced**
* [Reverse Proxy](Reverse-Proxy.md)
* [Environment Variables](Environment-Variables.md)
* [Cloudflare Side Note](Cloudflare-Side-Note.md)
* [Prometheus Integration](Prometheus-Integration.md)
* **Tools**
* [Reset Password via CLI](Reset-Password-via-CLI.md)

@ -7,8 +7,7 @@
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/docsify/4.12.1/themes/vue.min.css">
<link rel="icon" type="image/svg+xml" href="beans.svg">
<link rel="canonical" href="https://<?=$_SERVER["HTTP_HOST"] . (isset($_SERVER["REDIRECT_URL"]) ? $_SERVER["REDIRECT_URL"] : "") ?>/docs/" />
<link rel="icon" type="image/svg+xml" href="https://raw.githubusercontent.com/louislam/uptime-kuma/master/public/icon.svg">
<style>
.app-name-link img {
width: 96px;
@ -28,9 +27,8 @@
search: 'auto',
routerMode: 'history',
executeScript: true,
logo: 'https://github.com/louislam/uptime-kuma/raw/master/public/icon.svg',
logo: 'https://raw.githubusercontent.com/louislam/uptime-kuma/master/public/icon.svg',
relativePath: true,
homepage: "Home.md"
}
</script>