Use custom TypeAlias `StrPath` for `str`-based file system path vars.
Define TypeAlias for "str or os.PathLike" in docutils.nodes
(as this module does not depend on other docutils modules).
Import and use in all places where ``str | os.PathLike`` is expected.
Align formatting, use f-strings where it helps clarity.