]> gitweb.factorcode.org Git - factor.git/commitdiff
help: add more bold table headings.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 13 Feb 2020 23:18:43 +0000 (15:18 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 13 Feb 2020 23:18:43 +0000 (15:18 -0800)
12 files changed:
basis/alien/c-types/c-types-docs.factor
basis/html/templates/chloe/chloe-docs.factor
basis/math/vectors/simd/simd-docs.factor
basis/porter-stemmer/porter-stemmer-docs.factor
basis/syndication/syndication-docs.factor
basis/tools/deploy/config/config-docs.factor
core/alien/alien-docs.factor
core/classes/tuple/tuple-docs.factor
core/sequences/sequences-docs.factor
core/syntax/syntax-docs.factor
core/words/words-docs.factor
extra/brainfuck/brainfuck-docs.factor

index 1da75ac00e31dee4973d8823248bdd29f30766a5..909cec80a73c6c6619decd044ed123f95290c8bd 100644 (file)
@@ -105,7 +105,7 @@ $nl
 ARTICLE: "c-types.primitives" "Primitive C types"
 "The following numerical types are defined in the " { $vocab-link "alien.c-types" } " vocabulary; a " { $snippet "u" } " prefix denotes an unsigned type:"
 { $table
-    { "C type" "Notes" }
+    { { $strong "C type" } { $strong "Notes" } }
     { { $link char } "always 1 byte" }
     { { $link uchar } { } }
     { { $link short } "always 2 bytes" }
index f1eb956e7844bb3558eda2d4350ba9540d56b4a5..af03e8e1b96f03894d64fa17b01d09ec79f97ffe 100644 (file)
@@ -62,7 +62,7 @@ HELP: compile-with-scope
 ARTICLE: "html.templates.chloe.tags.component" "Component Chloe tags"
 "The following Chloe tags correspond exactly to " { $link "html.components" } ". The " { $snippet "name" } " attribute should be the name of a form value (see " { $link "html.forms.values" } "). Singleton component tags do not allow any other attributes. Tuple component tags map all other attributes to tuple slot values of the component instance."
 { $table
-    { "Tag" "Component class" }
+    { { $strong "Tag" } { $strong "Component class" } }
     { { $snippet "t:checkbox" }   { $link checkbox } }
     { { $snippet "t:choice" }     { $link choice } }
     { { $snippet "t:code" }       { $link code } }
index d29ddafebd0066c3106c453d7cbc78d262a838c5..4ebff58658528f2731b7403ac24d4e4e937c1e8a 100644 (file)
@@ -66,7 +66,7 @@ $nl
 ARTICLE: "math.vectors.simd.words" "SIMD vector words"
 "For each SIMD vector type, several words are defined, where " { $snippet "type" } " is the type in question:"
 { $table
-    { "Word" "Stack effect" "Description" }
+    { { $strong "Word" } { $strong "Stack effect" } { $strong "Description" } }
     { { $snippet "type-with" } { $snippet "( x -- simd-array )" } "creates a new instance where all components are set to a single scalar" }
     { { $snippet "type-boa" } { $snippet "( ... -- simd-array )" } "creates a new instance where components are read from the stack" }
     { { $snippet "type-cast" } { $snippet "( simd-array -- simd-array' )" } "creates a new SIMD array where the underlying data is taken from another SIMD array, with no format conversion" }
index 0212bf348c29cc5c7a73dff119644ff783d16375..c312690617197f0bb3b6625e0d95ce906c75a202 100644 (file)
@@ -6,7 +6,7 @@ HELP: step1a
 { $description "Gets rid of plurals." }
 { $examples
     { $table
-        { "Input:" "Output:" }
+        { { $strong "Input" } { $strong "Output" } }
         { "caresses" "caress" }
         { "ponies" "poni" }
         { "ties" "ti" }
@@ -20,7 +20,7 @@ HELP: step1b
 { $description "Gets rid of \"-ed\" and \"-ing\" suffixes." }
 { $examples
     { $table
-        { "Input:" "Output:" }
+        { { $strong "Input" } { $strong "Output" } }
         { "feed"  "feed" }
         { "agreed"  "agree" }
         { "disabled"  "disable" }
index 741edc9adc756ff7d1295b5b1210040ba4391765..16f45e6a1e95986a2d5b327b3a122eeb23aad294 100644 (file)
@@ -5,7 +5,7 @@ IN: syndication
 HELP: entry
 { $description "An Atom or RSS feed entry. Has the following slots:"
     { $table
-        { "Name" "Class" }
+        { { $strong "Name" } { $strong "Class" } }
         { "title" { $link string } }
         { "url" { "any class supported by " { $link present } } }
         { "description" { $link string } }
@@ -20,7 +20,7 @@ HELP: <entry>
 HELP: feed
 { $description "An Atom or RSS feed. Has the following slots:"
     { $table
-        { "Name" "Class" }
+        { { $strong "Name" } { $strong "Class" } }
         { "title" { $link string } }
         { "url" { "any class supported by " { $link present } } }
         { "entries" { "a sequence of " { $link entry } " instances" } }
index 7fa760089a60f728b0e5aa046859afc936bb6515..6ccaf883398f328e4322d3dc71602a8cf36567eb 100644 (file)
@@ -98,7 +98,7 @@ HELP: deploy-directory
 HELP: deploy-io
 { $description "The level of I/O support required by the deployed image:"
     { $table
-        { "Value" "Description" }
+        { { $strong "Value" } { $strong "Description" } }
         { "1" "No input/output" }
         { "2" "Basic ANSI C streams" }
         { "3" "Non-blocking streams and networking" }
@@ -109,7 +109,7 @@ HELP: deploy-io
 HELP: deploy-reflection
 { $description "The level of reflection support required by the deployed image."
     { $table
-        { "Value" "Description" }
+        { { $strong "Value" } { $strong "Description" } }
         { "1" "No reflection" }
         { "2" "Retain word names" }
         { "3" "Prettyprinter" }
index 545fe0b9f11509926d3423a36e8227a0ff3f5f5c..60f95cb61513514b5ee7df66fcb35672edc6199c 100644 (file)
@@ -306,7 +306,7 @@ $nl
 ARTICLE: "embedding" "Embedding Factor into C applications"
 "The Factor " { $snippet "Makefile" } " builds the Factor VM both as an executable and a library. The library can be used by other applications. File names for the library on various operating systems:"
 { $table
-    { "OS" "Library name" "Shared?" }
+    { { $strong "OS" } { $strong "Library name" } { $strong "Shared?" } }
     { "Windows XP/Vista" { $snippet "factor.dll" } "Yes" }
     { "Mac OS X" { $snippet "libfactor.dylib" } "Yes" }
     { "Other Unix" { $snippet "libfactor.a" } "No" }
index abfcde9a3fa39c7da8d2642a6dd9d30101d01e8b..43aa25e235e60f1cde9229831118ff1c37d52208 100644 (file)
@@ -214,7 +214,7 @@ ARTICLE: "tuple-examples" "Tuple examples"
 { $code "TUPLE: employee name position salary ;" }
 "This defines a class word named " { $snippet "employee" } ", a predicate " { $snippet "employee?" } ", and the following slot accessors:"
 { $table
-    { "Reader" "Writer" "Setter" "Changer" }
+    { { $strong "Reader" } { $strong "Writer" } { $strong "Setter" } { $strong "Changer" } }
     { { $snippet "name>>" } { $snippet "name<<" } { $snippet ">>name" } { $snippet "change-name" } }
     { { $snippet "position>>" } { $snippet "position<<" } { $snippet ">>position" } { $snippet "change-position" } }
     { { $snippet "salary>>" } { $snippet "salary<<" } { $snippet ">>salary" } { $snippet "change-salary" } }
index 1ce18af8b25212d62cf478245feb42090626d3f8..eed793b27d46f2034e7cd68a5c0a75ede8adde52 100644 (file)
@@ -1904,7 +1904,7 @@ ARTICLE: "sequences-destructive-discussion" "When to use destructive operations"
 ARTICLE: "sequences-destructive" "Destructive sequence operations"
 "Many operations have destructive variants that side effect an input sequence, instead of creating a new sequence:"
 { $table
-    { "Constructive" "Destructive" }
+    { { $strong "Constructive" } { $strong "Destructive" } }
     { { $link suffix } { $link suffix! } }
     { { $link remove } { $link remove! } }
     { { $link remove-eq } { $link remove-eq! } }
index d4966b1aa02c404fa5f415a8238fb90626560836..1b79c7cfede0eada8d7e7f43d5f0f85aee8efa52 100644 (file)
@@ -153,7 +153,7 @@ ARTICLE: "syntax-words" "Word syntax"
 
 ARTICLE: "escape" "Character escape codes"
 { $table
-    { "Escape code" "Meaning" }
+    { { $strong "Escape code" } { $strong "Meaning" } }
     { { $snippet "\\\\" } { $snippet "\\" } }
     { { $snippet "\\s" } "a space" }
     { { $snippet "\\t" } "a tab" }
index 28579db470b1549c41a9b3fdf551b97b595c6e94..774de4d22b9ee623d9f4b4dc6bc40c4fa24c8fcf 100644 (file)
@@ -91,7 +91,7 @@ ARTICLE: "word-props" "Word properties"
 $nl
 "The following are some of the properties used by the library:"
 { $table
-  { "Property" "Documentation" }
+  { { $strong "Property" } { $strong "Documentation" } }
   {
       { $snippet "\"declared-effect\"" } { $link "effects" }
   }
@@ -162,7 +162,7 @@ $nl
 }
 "Properties which are defined for classes only:"
 { $table
-    { "Property" "Documentation" }
+    { { $strong "Property" } { $strong "Documentation" } }
     { { $snippet "\"class\"" } { "A boolean indicating whether this word is a class - " { $link "classes" } } }
 
     { { $snippet "\"coercer\"" } { "A quotation for converting the top of the stack to an instance of this class" } }
index f5d83785d96490f9fa060e2ad9a75b59fddb3c33..89ccf8c6836daa7bcfd214abe53fa49c76c5cbd1 100644 (file)
@@ -16,7 +16,7 @@ HELP: run-brainfuck
     "The eight language commands, each consisting of a single character, "
     "are the following:\n"
     { $table
-        { "Character" "Meaning" }
+        { { $strong "Character" } { $strong "Meaning" } }
         { ">" "increment the data pointer (to point to the next cell to the right)." }
         { "<" "decrement the data pointer (to point to the next cell to the left)." }
         { "+" "increment (increase by one) the byte at the data pointer." }
@@ -31,7 +31,7 @@ HELP: run-brainfuck
     "substitutions, assuming ptr is of type unsigned char* and has been "
     "initialized to point to an array of zeroed bytes:\n"
     { $table
-        { "Character" "C equivalent" }
+        { { $strong "Character" } { $strong "C equivalent" } }
         { ">" "++ptr;" }
         { "<" "--ptr;" }
         { "+" "++*ptr;" }