Skip to content

Commit

Permalink
Enable documentation building in info.rkt.
Browse files Browse the repository at this point in the history
  • Loading branch information
emina committed Mar 23, 2016
1 parent 18a21e0 commit 8ed0759
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion rosette/doc/guide/scribble/forms/rosette-forms.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(only-in rosette/query/finitize current-bitwidth)
(only-in rosette/base/core/safe assert)
(only-in rosette/base/core/bool asserts clear-asserts!)
(only-in rosette/base/core/bitvector bv?)
(only-in rosette/base/base bv?)
(only-in rosette/base/core/function function?))
(for-label racket)
scribble/core scribble/html-properties scribble/eval racket/sandbox
Expand Down
7 changes: 5 additions & 2 deletions rosette/doc/guide/scribble/rosette-guide.scrbl
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#lang scribble/manual

@(require (for-label racket) (only-in racket match) scribble/core scribble/html-properties)
@(require (for-label racket) (only-in racket match)
racket/runtime-path (only-in racket build-path)
scribble/core scribble/html-properties)

@(define-runtime-path guide.css "util/guide.css")
@(define guide-style
(make-style "GuideStyle"
(list (make-css-addition "util/guide.css"))))
(list (make-css-addition guide.css))))

@title[#:style guide-style]{The Rosette Guide}
@author{Emina Torlak}
Expand Down
18 changes: 9 additions & 9 deletions rosette/info.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

;;; The format for `scribblings` is documented here:
;;; http://docs.racket-lang.org/raco/setup-info.html
;(define scribblings
; '(("doc/guide/scribble/rosette-guide.scrbl"
; ;; Path to the main documentation file
; ;; Note: everyone's .scrbl files share the same namespace,
; ;; so a name like `guide.scrbl` conflicts with The Racket Guide.
; ()
; ;; List of flags for building docs
; (experimental))))
; ;; Documentation category. On Racket 6.3+ this can be any string.
(define scribblings
'(("doc/guide/scribble/rosette-guide.scrbl"
;; Path to the main documentation file
;; Note: everyone's .scrbl files share the same namespace,
;; so a name like `guide.scrbl` conflicts with The Racket Guide.
(multi-page)
;; List of flags for building docs
(experimental))))
;; Documentation category. On Racket 6.3+ this can be any string.

;; Runs the code in `private/install.rkt` before installing this collection.
(define pre-install-collection "private/install.rkt")
Expand Down

0 comments on commit 8ed0759

Please sign in to comment.