Currently, raco docs will open a web browser to a "file not found" page when docs are not installed and doc-open-url is not set in config.rktd. This can be an issue for linux distributions which package the docs separately from racket itself, because modifying config.rktd dynamically as part of the install process could overwrite a user's preference.
Currently,
raco docs
will open a web browser to a "file not found" page when docs are not installed anddoc-open-url
is not set inconfig.rktd
. This can be an issue for linux distributions which package the docs separately from racket itself, because modifyingconfig.rktd
dynamically as part of the install process could overwrite a user's preference.This PR fixes the issue by pointing
send-main-page
to "https://docs.racket-lang.org/" when docs can not be found.