mirror of
https://github.com/thelounge/thelounge
synced 2025-03-03 22:57:19 +00:00
Make links in generated config relative
This commit is contained in:
parent
62e24a9c2b
commit
f02949ef0a
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ const configContent = readFileSync(
|
|||
const docPath = join(process.argv[2], "_includes", "config.js.md");
|
||||
|
||||
const extractedDoc = configContent
|
||||
.replace(/https:\/\/thelounge\.chat\/docs/g, "/docs") // make links relative
|
||||
.split("\n")
|
||||
.reduce((acc, line) => {
|
||||
line = line.trim();
|
||||
|
|
Loading…
Add table
Reference in a new issue