Yo Racketeers!
Someone recently mentioned that is was tricky to update documentation. it can be.
I thought I'd provide the steps I took to create a PR for the DrRacket documentation in the hope that they are useful for others who see an issue with documentation but finding locating the right scribble file a problem.
In my case I wanted to create a PR to update the 'Extending DrRacket' part of the DrRacket manual.
My steps were
1. click on the header of the heading in the manual, it opens up with a little link on how to link to that section note the path: scribblings/drracket/drracket.scrbl
Link to this section with @secref["extending-drracket"
#:doc '(lib "scribblings/drracket/drracket.scrbl")]
2. go to the DrRacket repo and look for something matching that path.
3. this scribble file is a list of includes, but I was able to match
with
@include-section["extending.scrbl"]
4. opening extending.scrbl I find the section I want to change
#lang scribble/doc |
| @(require "common.rkt" |
| (for-label compiler/cm setup/parallel-build racket/promise)) |
|
|
| @(define racodoc '(lib "scribblings/raco/raco.scrbl")) |
|
|
| @title[#:tag "extending-drracket"]{Extending DrRacket} |
|
|
| DrRacket supports two forms of extension to the programming |
| environment: |
|
|
| @itemize[ |
(gmail formatted this weirdly)
5. For simple changes (e.g. typos) you can just list in place and create a PR
6. if you run into trouble ask here on racket-users, or on the Racket slack - there are many helpful racketeers out there.
Kind regards
Stephen