summaryrefslogtreecommitdiff
path: root/src/collect_files.rs
Commit message (Collapse)AuthorAge
* Detect duplicate headings within a pageBen Bridle2025-01-14
| | | | | | This is an issue because the duplicate headings will have identical ids, and all links to the lower heading will instead link to the upper heading.
* Rewrite link handling and add navigation features to generated HTMLBen Bridle2025-01-09
|
* More robust file traversal logicBen Bridle2025-01-08
File traversal can now cope with symbolic links. The original path to each file is preserved where before they were unintentionally canonicalized, so the source folder prefix can now be correctly stripped from the path of each source file. This commit also adds the !folder syntax from the original toaster. Directories with a !-prefix are copied without modification to the site root. A --delete option has been added to the program. When this option is set, the destination directory is first deleted if it already exists.