From 38bfcd4bf1cae81bc151b8775138ef36d4aa5714 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 13 Feb 2020 15:18:43 -0800 Subject: [PATCH] help: add more bold table headings. --- basis/alien/c-types/c-types-docs.factor | 2 +- basis/html/templates/chloe/chloe-docs.factor | 2 +- basis/math/vectors/simd/simd-docs.factor | 2 +- basis/porter-stemmer/porter-stemmer-docs.factor | 4 ++-- basis/syndication/syndication-docs.factor | 4 ++-- basis/tools/deploy/config/config-docs.factor | 4 ++-- core/alien/alien-docs.factor | 2 +- core/classes/tuple/tuple-docs.factor | 2 +- core/sequences/sequences-docs.factor | 2 +- core/syntax/syntax-docs.factor | 2 +- core/words/words-docs.factor | 4 ++-- extra/brainfuck/brainfuck-docs.factor | 4 ++-- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/basis/alien/c-types/c-types-docs.factor b/basis/alien/c-types/c-types-docs.factor index 1da75ac00e..909cec80a7 100644 --- a/basis/alien/c-types/c-types-docs.factor +++ b/basis/alien/c-types/c-types-docs.factor @@ -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" } diff --git a/basis/html/templates/chloe/chloe-docs.factor b/basis/html/templates/chloe/chloe-docs.factor index f1eb956e78..af03e8e1b9 100644 --- a/basis/html/templates/chloe/chloe-docs.factor +++ b/basis/html/templates/chloe/chloe-docs.factor @@ -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 } } diff --git a/basis/math/vectors/simd/simd-docs.factor b/basis/math/vectors/simd/simd-docs.factor index d29ddafebd..4ebff58658 100644 --- a/basis/math/vectors/simd/simd-docs.factor +++ b/basis/math/vectors/simd/simd-docs.factor @@ -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" } diff --git a/basis/porter-stemmer/porter-stemmer-docs.factor b/basis/porter-stemmer/porter-stemmer-docs.factor index 0212bf348c..c312690617 100644 --- a/basis/porter-stemmer/porter-stemmer-docs.factor +++ b/basis/porter-stemmer/porter-stemmer-docs.factor @@ -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" } diff --git a/basis/syndication/syndication-docs.factor b/basis/syndication/syndication-docs.factor index 741edc9adc..16f45e6a1e 100644 --- a/basis/syndication/syndication-docs.factor +++ b/basis/syndication/syndication-docs.factor @@ -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: 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" } } diff --git a/basis/tools/deploy/config/config-docs.factor b/basis/tools/deploy/config/config-docs.factor index 7fa760089a..6ccaf88339 100644 --- a/basis/tools/deploy/config/config-docs.factor +++ b/basis/tools/deploy/config/config-docs.factor @@ -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" } diff --git a/core/alien/alien-docs.factor b/core/alien/alien-docs.factor index 545fe0b9f1..60f95cb615 100644 --- a/core/alien/alien-docs.factor +++ b/core/alien/alien-docs.factor @@ -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" } diff --git a/core/classes/tuple/tuple-docs.factor b/core/classes/tuple/tuple-docs.factor index abfcde9a3f..43aa25e235 100644 --- a/core/classes/tuple/tuple-docs.factor +++ b/core/classes/tuple/tuple-docs.factor @@ -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" } } diff --git a/core/sequences/sequences-docs.factor b/core/sequences/sequences-docs.factor index 1ce18af8b2..eed793b27d 100644 --- a/core/sequences/sequences-docs.factor +++ b/core/sequences/sequences-docs.factor @@ -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! } } diff --git a/core/syntax/syntax-docs.factor b/core/syntax/syntax-docs.factor index d4966b1aa0..1b79c7cfed 100644 --- a/core/syntax/syntax-docs.factor +++ b/core/syntax/syntax-docs.factor @@ -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" } diff --git a/core/words/words-docs.factor b/core/words/words-docs.factor index 28579db470..774de4d22b 100644 --- a/core/words/words-docs.factor +++ b/core/words/words-docs.factor @@ -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" } } diff --git a/extra/brainfuck/brainfuck-docs.factor b/extra/brainfuck/brainfuck-docs.factor index f5d83785d9..89ccf8c683 100644 --- a/extra/brainfuck/brainfuck-docs.factor +++ b/extra/brainfuck/brainfuck-docs.factor @@ -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;" }