diff --git a/info.rkt b/info.rkt new file mode 100644 index 0000000..de84824 --- /dev/null +++ b/info.rkt @@ -0,0 +1,4 @@ +#lang info +(define collection "xexpr-shortcuts") + +(define scribblings '(("scribblings/xexpr-shortcuts.scrbl" ()))) diff --git a/main.rkt b/main.rkt index 56e1aef..f4677df 100644 --- a/main.rkt +++ b/main.rkt @@ -1,6 +1,6 @@ #lang racket/base (require racket/contract racket/match xml racket/list) -(require pollen/readability) +(require sugar) (provide (all-defined-out)) diff --git a/scribblings/xexpr-shortcuts.scrbl b/scribblings/xexpr-shortcuts.scrbl new file mode 100644 index 0000000..c8de848 --- /dev/null +++ b/scribblings/xexpr-shortcuts.scrbl @@ -0,0 +1,36 @@ +#lang scribble/manual + +@(require scribble/eval (for-label racket "../main.rkt")) + +@(define my-eval (make-base-eval)) +@(my-eval `(require xexpr-shortcuts)) + + +@title{xexpr-shortcuts} + +@author[(author+email "Matthew Butterick" "mb@mbtype.com")] + +Convenience functions for working with X-expressions in Racket. + +@section{Installation & updates} + +At the command line: +@verbatim{raco pkg install xexpr-shortcuts} + +After that, you can update the package from the command line: +@verbatim{raco pkg update xexpr-shortcuts} + + +@section{Interface} + +@defmodule[xexpr-shortcuts] + +Hello xexpr-shortcuts. + + +@section{License & source code} + +This module is licensed under the LGPL. + +Source repository at @link["http://github.com/mbutterick/xexpr-shortcuts"]{http://github.com/mbutterick/xexpr-shortcuts}. Suggestions & corrections welcome. +