Expand description
This module provides functionality related to reading/writing files.
Functionsยง
- copy_
css_ to_ output_ dir - Copies a CSS file to the specified output directory.
- copy_
favicon_ to_ output_ dir - Copies a favicon file to the specified output directory.
- copy_
file_ to_ output_ dir - Copies a file from the input path to the specified output directory, optionally creating a subdirectory.
- copy_
image_ to_ output_ dir - Copies an image file to the specified output directory.
- does_
config_ exist - Checks if the configuration file exists at the specified path.
- get_
config_ path - Returns the OS-specific configuration path.
- read_
file - Reads the contents of a file into a String.
- read_
input_ dir - Reads all markdown files from the specified input directory and returns their contents.
- visit_
dir ๐ - Helper function to recursively visit subdirectories and collect markdown file contents.
- write_
default_ config - Writes the default configuration to the configuration file to the OS-specific default configuration path.
- write_
default_ css_ file - Writes a default CSS file to the specified output directory.
- write_
html_ to_ file - Writes the provided HTML string to a file in the specified output directory.