Commit bada25de authored by Robert Ricci's avatar Robert Ricci

Parameterize the name of the testbed

You can now pass a command line arg to scribble to turn on CloudLab
mode. Right now, all this does is change the binding for @(tb)
parent 643d3374
......@@ -15,7 +15,7 @@ all: $(SOURCES)
scribble --htmls ++style apt-manual.css $(TOPLEVEL).scrbl
cloudlab: $(SOURCES)
scribble --htmls ++style cloudlab-manual.css cloudlab-manual.scrbl
scribble --htmls ++style cloudlab-manual.css ++arg cloudlab cloudlab-manual.scrbl
-rm -rf $(TOPLEVEL)/
......@@ -3,9 +3,10 @@
@(require "defs.rkt")
@title[#:version apt-version
#:date (date->string (current-date))]{The ClouLab Manual}
#:date (date->string (current-date))]{The CloudLab Manual}
"The University of Utah" "Clemson University" "The University of Wisconsin" "The University of Massachusetts" "Raytheon BBN Technologies" "US Ignite"
"The CloudLab Team"
......@@ -5,12 +5,19 @@
(require racket/draw)
(require racket/system)
(require racket/port)
(require racket/vector)
(provide (all-defined-out))
; Check to see if we are building Apt or CloudLab documentation
(define tb-mode
(if (vector-member "cloudlab" (current-command-line-arguments))
(define apt-base-url "")
(define tb (lambda () "Apt"))
(define tb (lambda () (if (equal? tb-mode 'cloudlab) "CloudLab" "Apt")))
; We want the 'version' to be the date of the most recent commit
(define apt-version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment