Automatically detect an extensionless path if it begins with a dot or dot dot segment
Before introducing this helper, Antora would resolve a request that began with a dot (./
) or dot dot (../
) segment as a path (e.g., ./lib/my-extension
). We know for certain that if a request has this prefix, and it does not contain a colon (:
), it is not a valid method name. Therefore, to maintain backwards compatibility in Antora, this helper should accommodate this special case. However, dropping the file extension from a path request is not a recommended practice and should henceforth be considered deprecated.