Skip to content

Commit 94c5aac

Browse files
committed
updated docs for package
1 parent 5d0d425 commit 94c5aac

File tree

6 files changed

+16
-23
lines changed

6 files changed

+16
-23
lines changed

webapi/scribblings/atom.scrbl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
@(require scribble/manual
33
scribble/eval
44
scribble/struct
5-
racket/sandbox
65
"config.rkt"
7-
(for-label (this-package-in atom atom-resource)))
6+
(for-label webapi/atom webapi/atom-resource))
87

98
@title[#:tag "atom"]{Atom Documents and Resources}
109

@@ -15,7 +14,7 @@ documents and resources represented with Atom documents.
1514

1615
@section{Atom Documents}
1716

18-
@defmodule/this-package[atom]
17+
@defmodule[webapi/atom]
1918

2019
An Atom document is represented by an @racket[atom<%>]
2120
object. Specifically, an @racket[atom<%>] object is a thin, immutable
@@ -88,7 +87,7 @@ Represents an Atom document. Obtain an instance via @racket[atom].
8887

8988
@section{Atom Resources}
9089

91-
@defmodule/this-package[atom-resource]
90+
@defmodule[webapi/atom-resource]
9291

9392
An @racket[atom-resource<%>] object represents a resource (such as a
9493
blog or photo album) that is represented and manipulated via Atom

webapi/scribblings/blogger.scrbl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
@(require scribble/manual
33
scribble/eval
44
scribble/struct
5-
racket/sandbox
65
"config.rkt"
7-
(for-label (this-package-in atom-resource oauth2 blogger)))
6+
(for-label webapi/atom-resource
7+
webapi/oauth2
8+
webapi/blogger))
89

910
@title[#:tag "blogger"]{Blogger}
1011

11-
@defmodule/this-package[blogger]
12+
@defmodule[webapi/blogger]
1213

1314
This library supports a small subset of the
1415
@hyperlink["http://code.google.com/apis/blogger/"]{Blogger

webapi/scribblings/config.rkt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
1-
;; Copyright 2011 Ryan Culpepper
1+
;; Copyright 2011-2013 Ryan Culpepper
22
;; Released under the terms of the LGPL version 3 or later.
33
;; See the file COPYRIGHT for details.
44

55
#lang racket/base
66
(require scribble/manual
77
scribble/eval
8-
racket/sandbox
9-
planet/version
10-
planet/scribble
118
(for-label racket/base
129
racket/class
1310
racket/contract))
1411
(provide (all-defined-out)
15-
(all-from-out planet/scribble)
1612
(for-label (all-from-out racket/base)
1713
(all-from-out racket/class)
1814
(all-from-out racket/contract)))
1915

20-
(define (my-package-version)
21-
(format "~a.~a" (this-package-version-maj) (this-package-version-min)))
22-
2316
;; ----
2417

2518
(define the-eval (make-base-eval))
2619

2720
(void
2821
(the-eval
2922
`(require racket/class
30-
(planet ,(this-package-version-symbol oauth2)))))
23+
webapi/oauth2)))
3124

3225
(define-syntax-rule (examples/results [example result] ...)
3326
(examples #:eval the-eval (eval:alts example result) ...))

webapi/scribblings/oauth2.scrbl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
@(require scribble/manual
33
scribble/eval
44
scribble/struct
5-
racket/sandbox
65
"config.rkt"
7-
(for-label (this-package-in oauth2)))
6+
(for-label webapi/oauth2))
87

98
@title[#:tag "oauth2"]{OAuth 2.0 Client}
109

11-
@(defmodule/this-package oauth2)
10+
@defmodule[webapi/oauth2]
1211

1312
This library is an incomplete implementation of an unfinished
1413
standard; use with care. It is certain to evolve as features are added

webapi/scribblings/picasa.scrbl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
@(require scribble/manual
33
scribble/eval
44
scribble/struct
5-
racket/sandbox
65
"config.rkt"
7-
(for-label (this-package-in atom-resource oauth2 picasa)))
6+
(for-label webapi/atom-resource
7+
webapi/oauth2
8+
webapi/picasa))
89

910
@title[#:tag "picasa"]{Picasa Web Albums}
1011

11-
@(defmodule/this-package picasa)
12+
@defmodule[webapi/picasa]
1213

1314
This library supports a small subset of the
1415
@hyperlink["http://code.google.com/apis/picasaweb/overview.html"]{Picasa

webapi/scribblings/webapi.scrbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
scribble/eval
55
"config.rkt")
66

7-
@title[#:version (my-package-version)]{webapi: Web APIs}
7+
@title{webapi: Web APIs}
88
@author[@author+email["Ryan Culpepper" "ryanc@racket-lang.org"]]
99

1010
This package provides rudimentary implementations of a few web APIs.

0 commit comments

Comments
 (0)