Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am olingcat on github.
  • I am olingcat (https://keybase.io/olingcat) on keybase.
  • I have a public key ASBFIpGdxYcPii4uHDl5GA0gJZwUyWYURKhoLRHM9t1hNwo

To claim this, I am signing this object:

raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/search.scrbl
make-script: internal error: unexpected tooltip
context...:
/home/cat/Source/Racket-zh/racket/pkgs/racket-index/scribblings/main/private/make-search.rkt:116:4: for-loop
/home/cat/Source/Racket-zh/racket/pkgs/racket-index/scribblings/main/private/make-search.rkt:64:0: make-script
/home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:971:4: render-content method in render%
/home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1528:4: render-plain-content method in render-mixin
/home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:971:4: render-content method in render%
/home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1188:4: do-render-paragraph method in render-mixin
/home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1216:4: rende
@OlingCat
OlingCat / mail.md
Last active July 9, 2018 15:49
How to build racket repos with customized packages?

I'm translating the Racket docs into Chinese and it's available at here partially. Every time I translated a section, I need to run "make" in the racket source code directory and waiting for a long time to see the result in racket/doc.

Recently, our organization Racket-zh translated the racket/scribble template to generate Chinese pages and racket/htdp for HtDP/2e Chinese techpack, so we want to use our customized scribble to generate these docs at once. If I run "make" in the racket source code directory, it just gets the original packages from pkgs.racket-lang.org to build whole distribution and ignored our scribble and htdp. So there are actually three problems:

id title summary questionnaires
0 抑郁症 <Questionnaire>{0}