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:
commit
66713ea76d
2 changed files with 3 additions and 16 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue