|
|
@ -2,8 +2,6 @@
|
|
|
|
(require scribble/manual scribble/html-properties
|
|
|
|
(require scribble/manual scribble/html-properties
|
|
|
|
scribble/core)
|
|
|
|
scribble/core)
|
|
|
|
(provide (all-defined-out))
|
|
|
|
(provide (all-defined-out))
|
|
|
|
(require (for-syntax racket/base racket/syntax) racket/runtime-path)
|
|
|
|
|
|
|
|
(provide (for-syntax #%datum))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define (aoc-title which)
|
|
|
|
(define (aoc-title which)
|
|
|
|
(define which-str (number->string which))
|
|
|
|
(define which-str (number->string which))
|
|
|
@ -11,12 +9,6 @@
|
|
|
|
(define day-prefix (format "~a-" day-x))
|
|
|
|
(define day-prefix (format "~a-" day-x))
|
|
|
|
@title[#:style manual-doc-style]{Day @which-str})
|
|
|
|
@title[#:style manual-doc-style]{Day @which-str})
|
|
|
|
|
|
|
|
|
|
|
|
(define-syntax (link-rp stx)
|
|
|
|
(define (link-rp path . text-args)
|
|
|
|
(syntax-case stx ()
|
|
|
|
(element (style #f (list (link-resource path)))
|
|
|
|
[(_ where text-args ...)
|
|
|
|
text-args))
|
|
|
|
(with-syntax ([rp-name (generate-temporary)])
|
|
|
|
|
|
|
|
#'(begin
|
|
|
|
|
|
|
|
(require racket/runtime-path)
|
|
|
|
|
|
|
|
(define-runtime-path rp-name where)
|
|
|
|
|
|
|
|
(element (style #f (list (link-resource where)))
|
|
|
|
|
|
|
|
text-args ...)))]))
|
|
|
|
|