racket / scribble

Other
201 stars 93 forks source link

point send-main-page to racket website when docs not found #164

Closed dbenoit17 closed 6 years ago

dbenoit17 commented 6 years ago

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.

This PR fixes the issue by pointing send-main-page to "https://docs.racket-lang.org/" when docs can not be found.