diff --git a/basis/io/directories/directories-docs.factor b/basis/io/directories/directories-docs.factor index ffca920dc6..4af5ee4592 100644 --- a/basis/io/directories/directories-docs.factor +++ b/basis/io/directories/directories-docs.factor @@ -142,11 +142,6 @@ ARTICLE: "io.directories.create" "Creating directories" } ; ARTICLE: "delete-move-copy" "Deleting, moving, and copying files" -"Operations for deleting and copying files come in two forms:" -{ $list - { "Words named " { $snippet { $emphasis "operation" } "-file" } " which work on regular files only." } - { "Words named " { $snippet { $emphasis "operation" } "-tree" } " works on directory trees recursively, and also accepts regular files. (see " { $link "io.directories.hierarchy" } ")" } -} "The operations for moving and copying files come in three flavors:" { $list { "A word named " { $snippet { $emphasis "operation" } } " which takes a source and destination path." } @@ -175,7 +170,7 @@ $nl "On most operating systems, files can only be moved within the same file system. To move files between file systems, use " { $link copy-file } " followed by " { $link delete-file } " on the old name." ; ARTICLE: "io.directories" "Directory manipulation" -"The " { $vocab-link "io.directories" } " vocabulary defines words for inspecting and manipulating directory trees." +"The " { $vocab-link "io.directories" } " vocabulary defines words for inspecting and manipulating directories." { $subsections home "current-directory" diff --git a/basis/io/directories/hierarchy/hierarchy-docs.factor b/basis/io/directories/hierarchy/hierarchy-docs.factor index 741adbb3dd..b45fe49d9b 100644 --- a/basis/io/directories/hierarchy/hierarchy-docs.factor +++ b/basis/io/directories/hierarchy/hierarchy-docs.factor @@ -26,6 +26,11 @@ HELP: copy-trees-into ARTICLE: "io.directories.hierarchy" "Directory hierarchy manipulation" "The " { $vocab-link "io.directories.hierarchy" } " vocabulary defines words for operating on directory hierarchies recursively." $nl +"There is a naming scheme used by " { $vocab-link "io.directories" } " and " { $vocab-link "io.directories.hierarchy" } ". Operations for deleting and copying files come in two forms:" +{ $list + { "Words named " { $snippet { $emphasis "operation" } "-file" } " which work on regular files only." } + { "Words named " { $snippet { $emphasis "operation" } "-tree" } " works on directory trees recursively, and also accepts regular files." } +} "Deleting directory trees recursively:" { $subsections delete-tree } "Copying directory trees recursively:" diff --git a/core/combinators/combinators-docs.factor b/core/combinators/combinators-docs.factor index 1e6c9295d3..02114496f4 100644 --- a/core/combinators/combinators-docs.factor +++ b/core/combinators/combinators-docs.factor @@ -58,9 +58,7 @@ $nl "A generalization of the above combinators to any number of quotations can be found in " { $link "combinators" } "." ; ARTICLE: "apply-combinators" "Apply combinators" -"The apply combinators apply a single quotation to multiple values. The asterisk (" { $snippet "@" } ") suffixed to these words' names signifies that they are apply combinators." -$nl -"One quotation:" +"The apply combinators apply a single quotation to multiple values. The at sign (" { $snippet "@" } ") suffixed to these words' names signifies that they are apply combinators." { $subsections bi@ 2bi@ tri@ 2tri@ } "A pair of condition words built from " { $link bi@ } " to test two values:" { $subsections both? either? }