Minor doc fixes

db4
Slava Pestov 2010-02-03 22:56:32 +13:00
parent 7381d47103
commit 080609c281
3 changed files with 7 additions and 9 deletions

View File

@ -142,11 +142,6 @@ ARTICLE: "io.directories.create" "Creating directories"
} ; } ;
ARTICLE: "delete-move-copy" "Deleting, moving, and copying files" 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:" "The operations for moving and copying files come in three flavors:"
{ $list { $list
{ "A word named " { $snippet { $emphasis "operation" } } " which takes a source and destination path." } { "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." ; "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" 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 { $subsections
home home
"current-directory" "current-directory"

View File

@ -26,6 +26,11 @@ HELP: copy-trees-into
ARTICLE: "io.directories.hierarchy" "Directory hierarchy manipulation" ARTICLE: "io.directories.hierarchy" "Directory hierarchy manipulation"
"The " { $vocab-link "io.directories.hierarchy" } " vocabulary defines words for operating on directory hierarchies recursively." "The " { $vocab-link "io.directories.hierarchy" } " vocabulary defines words for operating on directory hierarchies recursively."
$nl $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:" "Deleting directory trees recursively:"
{ $subsections delete-tree } { $subsections delete-tree }
"Copying directory trees recursively:" "Copying directory trees recursively:"

View File

@ -58,9 +58,7 @@ $nl
"A generalization of the above combinators to any number of quotations can be found in " { $link "combinators" } "." ; "A generalization of the above combinators to any number of quotations can be found in " { $link "combinators" } "." ;
ARTICLE: "apply-combinators" "Apply 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." "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."
$nl
"One quotation:"
{ $subsections bi@ 2bi@ tri@ 2tri@ } { $subsections bi@ 2bi@ tri@ 2tri@ }
"A pair of condition words built from " { $link bi@ } " to test two values:" "A pair of condition words built from " { $link bi@ } " to test two values:"
{ $subsections both? either? } { $subsections both? either? }