getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.58k stars 443 forks source link

New plugin manager does not support symlinks #3741

Closed Kwpolska closed 6 months ago

Kwpolska commented 6 months ago

Environment

Python Version: 3.11

Nikola Version: 8.3.0

Operating System: openSUSE Tumbleweed

Description:

The new plugin manager does not detect plugins if the plugin folder is a symlink (e.g. ln -s ../nikola-plugins/v8/projectpages plugins/projectpages).

Apparently, pathlib.Path.rglob ignores symlinks. We’ll need a custom thing to scan directories that does not ignore symlinks.