]> git.ipfire.org Git - thirdparty/systemd.git/commit
chore(docs): change permalink at the Jekyll config
authorhulkoba <jacoba@neighbourhood.ie>
Tue, 5 Mar 2024 10:57:58 +0000 (11:57 +0100)
committerhulkoba <jacoba@neighbourhood.ie>
Wed, 27 Mar 2024 06:31:55 +0000 (07:31 +0100)
commit997a84b2e1ae3aff1e0b549528760bec8afdb710
tree0d2109ee7c058ce11b0b44e72b9ebd926c6adcd4
parenta738c6d9b82564439e062addb53f6da2f96d6133
chore(docs): change permalink at the Jekyll config

Some of the internal links didn't work.
To make them work we had two options:

1. Keep the trailing slash at the jecyll config:
The built structure of the html files is one directory for each file, including a html file.
This is why a relative link including the `../` is required to get out of the built folder and make it work.
e.g.
config: permalink: /:title/
HACKING.md: [Coding Style](../CODING_STYLE)

2. Remove the trailing slash, the built structure is like the structure in dev: one html file for each markdown file.
In this case, the links as they are implemented just work.
e.g.
config: permalink: /:title
HACKING.md: [Coding Style](CODING_STYLE)

We use option 2 :)
docs/_config.yml