Merge pull request #387 from seanmorley15/development
Enhance documentation: update VitePress config to ignore localhost li…
This commit is contained in:
@@ -3,23 +3,10 @@ import { defineConfig } from "vitepress";
|
|||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
head: [["link", { rel: "icon", href: "/adventurelog.png" }]],
|
head: [["link", { rel: "icon", href: "/adventurelog.png" }]],
|
||||||
|
ignoreDeadLinks: "localhostLinks",
|
||||||
title: "AdventureLog",
|
title: "AdventureLog",
|
||||||
description: "The ultimate travel companion.",
|
description: "The ultimate travel companion.",
|
||||||
lang: "en-US",
|
lang: "en-US",
|
||||||
// lastUpdated: true,
|
|
||||||
|
|
||||||
ignoreDeadLinks: [
|
|
||||||
// ignore exact url "/playground"
|
|
||||||
"/playground",
|
|
||||||
// ignore all localhost links
|
|
||||||
/^https?:\/\/localhost/,
|
|
||||||
// ignore all links include "/repl/""
|
|
||||||
/\/repl\//,
|
|
||||||
// custom function, ignore all links include "ignore"
|
|
||||||
(url) => {
|
|
||||||
return url.toLowerCase().includes("ignore");
|
|
||||||
},
|
|
||||||
],
|
|
||||||
|
|
||||||
sitemap: {
|
sitemap: {
|
||||||
hostname: "https://adventurelog.app",
|
hostname: "https://adventurelog.app",
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ Add the folowing to the bottom of the `docker-compose.yml` file for the Nginx Pr
|
|||||||
```yaml
|
```yaml
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
external:
|
name: nginx-proxy-manager
|
||||||
name: nginx-proxy-manager
|
external: true
|
||||||
```
|
```
|
||||||
|
|
||||||
## Setting Up Nginx Proxy Manager
|
## Setting Up Nginx Proxy Manager
|
||||||
|
|||||||
Reference in New Issue
Block a user