]> gitweb.factorcode.org Git - factor.git/commitdiff
help.home: make the home screen the handbook content.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 19 Mar 2016 11:27:20 +0000 (04:27 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 19 Mar 2016 11:27:20 +0000 (04:27 -0700)
basis/help/home/home-docs.factor

index b5d23bd7fcea635c640deb789b066a25f0d34024..9b27ccc9013e528ba7947b71d4783aae9cc98231 100644 (file)
@@ -1,26 +1,9 @@
+USING: help.markup help.syntax help.topics literals
+sequences.generalizations ;
 IN: help.home
-USING: help.markup help.syntax ;
 
 ARTICLE: "help.home" "Factor documentation"
-{ $heading "Getting started" }
-{ $subsections
-    "cookbook"
-    "first-program"
-}
-{ $heading "User interface" }
-{ $subsections
-  "listener"
-  "ui-tools"
-}
-{ $heading "Reference" }
-{ $subsections
-  "handbook"
-  "vocab-index"
-  "article-index"
-  "primitive-index"
-  "error-index"
-  "class-index"
-}
+$[ "handbook" lookup-article article-content 6 firstn ]
 { $heading "Searches" }
 "Use the search field in the top-right of the " { $link "ui-browser" } " window to search for words, vocabularies, and help articles."
 { $recent-searches }