mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 15:29:36 +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
|
||||
export default defineConfig({
|
||||
head: [["link", { rel: "icon", href: "/adventurelog.png" }]],
|
||||
ignoreDeadLinks: "localhostLinks",
|
||||
title: "AdventureLog",
|
||||
description: "The ultimate travel companion.",
|
||||
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: {
|
||||
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
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy-manager
|
||||
name: nginx-proxy-manager
|
||||
external: true
|
||||
```
|
||||
|
||||
## Setting Up Nginx Proxy Manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue