From 12e497e0e8ebe8dbe117415c3db1a19038362066 Mon Sep 17 00:00:00 2001 From: Weng Shiwei Date: Mon, 31 Jul 2017 15:33:23 -0400 Subject: [PATCH] adding file extension ".scrbl" to fix redirection adding file extension ".scrbl" to fix url redirect error. Otherwises, it triggers a redirection error. This link is just before [section 8.7.1 in reference of contract](https://docs.racket-lang.org/reference/Building_New_Contract_Combinators.html) This fix works and I guess it's correct. I didn't compile the document project but I searched other `@other-doc` tags in project, the link in lib are all ending with `.scrbl` The current generated url is: https://download.racket-lang.org/docs/6.9/html/local-redirect/index.html?tag=%28part._%28.%27%28lib._contract-profile%2Fscribblings%2Fcontract-profile..rkt%29.%27._.%27top.%27%29%29&version=6.9 If changing `rkt` to `scrbl` in the url: [https://download.racket-lang.org/docs/6.9/html/local-redirect/index.html?tag=%28part._%28.%27%28lib._contract-profile%2Fscribblings%2Fcontract-profile..scrbl%29.%27._.%27top.%27%29%29&version=6.9](https://download.racket-lang.org/docs/6.9/html/local-redirect/index.html?tag=%28part._%28.%27%28lib._contract-profile%2Fscribblings%2Fcontract-profile..scrbl%29.%27._.%27top.%27%29%29&version=6.9) The redirected result is correct. --- pkgs/racket-doc/scribblings/reference/contracts.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/contracts.scrbl b/pkgs/racket-doc/scribblings/reference/contracts.scrbl index 340efa4205..4f87be9030 100644 --- a/pkgs/racket-doc/scribblings/reference/contracts.scrbl +++ b/pkgs/racket-doc/scribblings/reference/contracts.scrbl @@ -2356,7 +2356,7 @@ contracts. The error messages assume that the function named by @defform*[[(with-contract-continuation-mark blame body ...) (with-contract-continuation-mark blame+neg-party body ...)]]{ Inserts a continuation mark that informs the contract profiler (see -@other-doc['(lib "contract-profile/scribblings/contract-profile") +@other-doc['(lib "contract-profile/scribblings/contract-profile.scrbl") #:indirect "contract profiling"]) that contract checking is happening. For the costs from checking your new combinator to be included, you should wrap