Example doesn't work in racket/base

Open Beginner friendly
#46 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
70/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
documentation

Research direction

Find the documentation page containing the include-template example and reproduce it under #lang racket/base. Verify the example needs (require (for-syntax racket/base)), then update the documentation to include that requirement so the example works out of the box.

Written by the indexing model from the issue text.

Description

The example in the documentation

(include-template #:command-char #\$ "dollar-static.html")

doesn't work in #lang racket/base out-of-the-box. One needs to also (require (for-syntax racket/base)). It might be helpful to include this in the documentation.

Dominant language
Racket
Stars
100
Forks
48
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from racket/web-server

All issues in racket/web-server

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.