Merge pull request #1303 from jsmaniac/doc-changes

Update to the package template + small documentation changes
This commit is contained in:
Matthew Flatt 2016-04-08 09:37:04 -06:00
commit 7a339f45b9
3 changed files with 18 additions and 16 deletions

View File

@ -55,7 +55,7 @@ popular among Racketeers as well.
name @tt{geiser}.} name @tt{geiser}.}
@item{Emacs ships with a major mode for Scheme, @tt{scheme-mode}, @item{Emacs ships with a major mode for Scheme, @tt{scheme-mode},
that while not as featureful as the above options, but works that while not as featureful as the above options, works
reasonably well for editing Racket code. However, this mode reasonably well for editing Racket code. However, this mode
does not provide support for Racket-specific forms.} does not provide support for Racket-specific forms.}

View File

@ -926,11 +926,13 @@ times in the entire repetition.
If the pattern is matched too few times, then the ellipsis pattern If the pattern is matched too few times, then the ellipsis pattern
fails with the message either @racket[too-few-message-expr] or fails with the message either @racket[too-few-message-expr] or
@racketvalfont{"too few occurrences of @racket[name-expr]"}. @racketvalfont{"too few occurrences of @racket[name-expr]"}, when
@racket[name-expr] is provided.
If the pattern is chosen too many times, then the ellipsis pattern If the pattern is chosen too many times, then the ellipsis pattern
fails with the message either @racket[too-many-message-expr] or fails with the message either @racket[too-many-message-expr] or
@racketvalfont{"too few occurrences of @racket[name-expr]"}. @racketvalfont{"too many occurrences of @racket[name-expr]"}, when
@racket[name-expr] is provided.
} }

View File

@ -87,7 +87,8 @@ EOS
\#* \#*
.\#* .\#*
.DS_Store .DS_Store
compiled compiled/
/doc/
EOS EOS
))) )))
@ -122,34 +123,33 @@ env:
- RACKET_VERSION=6.1.1 - RACKET_VERSION=6.1.1
- RACKET_VERSION=6.2 - RACKET_VERSION=6.2
- RACKET_VERSION=6.3 - RACKET_VERSION=6.3
- RACKET_VERSION=6.4
- RACKET_VERSION=HEAD - RACKET_VERSION=HEAD
matrix: matrix:
allow_failures: allow_failures:
env: RACKET_VERSION=HEAD # - env: RACKET_VERSION=HEAD
fast_finish: true fast_finish: true
before_install: before_install:
- git clone https://github.com/greghendershott/travis-racket.git - git clone https://github.com/greghendershott/travis-racket.git ~/travis-racket
- cat travis-racket/install-racket.sh | bash # pipe to bash not sh! - cat ~/travis-racket/install-racket.sh | bash # pipe to bash not sh!
- export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us - export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
install: install:
- raco pkg install --deps search-auto
before_script: before_script:
# Here supply steps such as raco make, raco test, etc. Note that you # Here supply steps such as raco make, raco test, etc. You can run
# need to supply /usr/racket/bin/ -- it's not in PATH. You can run # `raco pkg install --deps search-auto` to install any required
# `raco pkg install --deps search-auto <<name>>` to install any required
# packages without it getting stuck on a confirmation prompt. # packages without it getting stuck on a confirmation prompt.
script: script:
- raco pkg install --deps search-auto cover
- raco test -x -p <<name>> - raco test -x -p <<name>>
after_success: after_success:
- raco setup --check-deps <<name>> - raco setup --check-pkg-deps --pkgs <<name>>
- raco pkg install --deps search-auto cover-coveralls - raco pkg install --deps search-auto cover cover-coveralls
- raco pkg install --deps search-auto
- raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage . - raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .
EOS EOS
@ -196,7 +196,7 @@ EOS
;; To uninstall: ;; To uninstall:
;; $ raco pkg remove <<name>> ;; $ raco pkg remove <<name>>
;; To view documentation: ;; To view documentation:
;; $ raco doc <<name>> ;; $ raco docs <<name>>
;; ;;
;; For your convenience, we have included a LICENSE.txt file, which links to ;; For your convenience, we have included a LICENSE.txt file, which links to
;; the GNU Lesser General Public License. ;; the GNU Lesser General Public License.