gohugoio / hugoDocs

The source for https://gohugo.io/
Apache License 2.0
1.05k stars 1.48k forks source link

symbolic link references in Documentation obsolete? #2566

Closed irkode closed 3 months ago

irkode commented 4 months ago

I could swear I read somewhere that symbolic link support is cancelled. (v123.0) https://github.com/gohugoio/hugo/issues/11556 and also failed to use a symbolic link link in within content

if so - there are still some references in the docs that needs to be handled

Dunno exactly, but I tink I would just remove following symbolic links only if they are on the command line

I would raise a PR the changes are ok

jmooring commented 4 months ago

I would change that to: * Usage of symbolic links is not supported

How about this instead? "Hugo does not follow symbolic links." That would make the wording consistent with the last item below.

but I tink I would just remove following symbolic links only if they are on the command line

Leave as-is. The documentation is describing the grep flag, not a Hugo capability.

I would remove and even a symbolic link

I agree.

I would change that to Symbolic links are not supported. If you need them consider using Hugo mounts and the union files system.

How about this instead? "Hugo does not follow symbolic links. If you need the functionality provided by symbolic links, use Hugo's union file system instead."

And yes, a PR would be great.

irkode commented 3 months ago

too slow ;-)