aboutsummaryrefslogtreecommitdiff
path: root/doc/user/user.skb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/user.skb')
-rw-r--r--doc/user/user.skb12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/user/user.skb b/doc/user/user.skb
index f78f1b0..a360fbd 100644
--- a/doc/user/user.skb
+++ b/doc/user/user.skb
@@ -1,6 +1,6 @@
;;; user.skb -- The Skribilo user manual.
;;;
-;;; Copyright 2005, 2006, 2007 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright 2005, 2006, 2007, 2008 Ludovic Courtès <ludo@gnu.org>
;;; Copyright 2001, 2002, 2003, 2004 Manuel Serrano
;;;
;;;
@@ -22,8 +22,7 @@
;*---------------------------------------------------------------------*/
;* The Skribilo documentation style */
;*---------------------------------------------------------------------*/
-(use-modules (skribilo package web-book)
- (skribilo documentation env)
+(use-modules (skribilo documentation env)
(skribilo documentation manual)
(skribilo documentation api))
@@ -33,7 +32,8 @@
;*---------------------------------------------------------------------*/
(use-modules (skribilo package eq)
(skribilo package pie)
- (skribilo package slide))
+ (skribilo package slide)
+ (skribilo package web-book2))
;; Load the compile-time configuration file.
(load "doc-config.scm")
@@ -79,6 +79,10 @@
If you are new to Skribilo, please read the ,(ref :ident "intro"
:text [introduction]) first.]))))
+(if (engine-format? "html")
+ ;; Produce a complete table of contents on the main HTML page.
+ (toc :chapter #t :section #t :subsection #t))
+
;;; Introduction
(chapter :title "Introduction" :ident "intro" :number #f :toc #t :file #f