|
|
|
Description |
A module containing various function for manipulating and examinating
files and directories.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Convert a relative filepath to a filepath in the destination
(default: _site).
|
|
|
Convert a relative filepath to a filepath in the cache
(default: _cache).
|
|
|
Get the url for a given page. For most extensions, this would be the path
itself. It's only for rendered extensions (.markdown, .rst, .lhs this
function returns a path with a .html extension instead.
|
|
|
Get the relative url to the site root, for a given (absolute) url
|
|
|
Swaps spaces for -.
|
|
|
Given a path to a file, try to make the path writable by making
all directories on the path.
|
|
|
Get all contents of a directory. Note that files starting with a dot (.)
will be ignored.
|
|
|
Sort a list of filenames on the basename.
|
|
|
A filter that takes all file names with a given extension. Prefix the
extension with a dot:
havingExtension ".markdown" [ "index.markdown"
, "style.css"
] == ["index.markdown"]
|
|
|
Perform a Hakyll action on every file in a given directory.
|
|
|
:: ClockTime | The time to check.
| -> [FilePath] | Dependencies of the cached file.
| -> Hakyll Bool | | Check if a timestamp is newer then a number of given files.
|
|
|
|
:: FilePath | The cached file.
| -> [FilePath] | Dependencies of the cached file.
| -> Hakyll Bool | | Check if a file is newer then a number of given files.
|
|
|
Produced by Haddock version 2.6.0 |