1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-27 16:59:37 +02:00

Merge pull request #387 from seanmorley15/development

Enhance documentation: update VitePress config to ignore localhost li…
This commit is contained in:
Sean Morley 2024-11-27 12:07:50 -05:00 committed by GitHub
commit 66713ea76d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 16 deletions

View file

@ -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",

View file

@ -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