Skip to content

Commit

Permalink
Fix typos + remove 'shared, which is not an option
Browse files Browse the repository at this point in the history
  • Loading branch information
sorawee authored Dec 1, 2022
1 parent 8c298ce commit 0867483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkgs/racket-doc/pkg/scribblings/path.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ collection name if the package is a single-collection package,
(or/c string? #f)
(or/c 'installation 'user (and/c path? complete-path?) #f))]{

Like @racket[path->pkg+subpath+collects], but returns a fourth value for
Like @racket[path->pkg+subpath+collect], but returns a fourth value for
the package's installation scope.}


@defproc[(get-pkgs-dir [scope (or/c 'installation 'user 'shared
@defproc[(get-pkgs-dir [scope (or/c 'installation 'user
(and/c path? complete-path?))]
[user-version string? (version)])
path?]{
Expand All @@ -126,7 +126,7 @@ given scope. The @racket[user-version] argument is used to generate
the result for @racket['user] scope.}


@defproc[(read-pkgs-db [scope (or/c 'installation 'user 'shared
@defproc[(read-pkgs-db [scope (or/c 'installation 'user
(and/c path? complete-path?))])
(hash/c string? pkg-info?)]{

Expand Down
2 changes: 1 addition & 1 deletion pkgs/racket-doc/pkg/scribblings/pkg.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ in its search path for installed packages (see @secref["config-file"
scope}, operations such as dependency checking will use all paths in
the configured search path starting with the one that is designed as a
@tech{package scope}; if the designated path is not in the configured
search path, then the dierctory by itself is used as the search path.
search path, then the directory by itself is used as the search path.

Conflict checking disallows installation of the same or conflicting
package in different scopes, but if such a configuration is forced,
Expand Down

0 comments on commit 0867483

Please sign in to comment.