diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 060e19956..af0f97d40 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -4119,7 +4119,7 @@ separator and everything after from the given path. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4132,7 +4132,7 @@ Get the file name. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4145,7 +4145,7 @@ Checks whether a path is absolute, i.e. not fixed to a root. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4159,7 +4159,7 @@ Checks whether a path is relative or fixed to a root. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4173,7 +4173,7 @@ Join path elements back together by the directory separator. Parameters: -filepaths +`filepaths` : path components (list of strings) Returns: @@ -4192,13 +4192,13 @@ Set `unsafe` to a truthy value to a allow `..` in paths. Parameters: -path +`path` : path to be made relative (string) -root +`root` : root path (string) -unsafe +`unsafe` : whether to allow `..` in the result. (boolean) Returns: @@ -4218,7 +4218,7 @@ Normalizes a path. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4231,7 +4231,7 @@ Splits a path by the directory separator. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4246,7 +4246,7 @@ no extension, then the empty string is returned as the extension. Parameters: -filepath +`filepath` : path (string) Returns: @@ -4263,7 +4263,7 @@ Windows path elements are stripped of quotes. Parameters: -search_path +`search_path` : platform-specific search path (string) Returns: