racket/collects/pkg/scribblings/common.rkt
Matthew Flatt 37aa091e1c raco pkg: add support for local package-index databases
Adds `pkg/pnr-db', `raco pkg index-copy', and `raco pkg index-show'.

Includes tools to build a database of modules that are supplied by
packages, which will be useful for a tool to recommend package
installs when a module is not found.

Also, document `pkg/lib' and add extra helper functions
for getting package information from a package name resolver.
2013-04-15 06:21:49 -06:00

16 lines
320 B
Racket

#lang at-exp racket/base
(require scribble/manual
scribble/core)
(provide (all-defined-out))
(define (command s)
@exec{raco pkg @|s|})
(define (command-ref s)
@(link-element "plainlink" @command[s] `(raco-pkg-cmd ,s)))
(define (command/toc s)
@(toc-target-element #f @command[s] `(raco-pkg-cmd ,s)))