![]() The indirection uses a "local-redirect.js" script to rewrite the document links to local links within the browser. This mechanism is a step towards distributing compiled packages that include already-built documentation, where paths to other documentation can be different than in the build environment. If the links are not rewritten, they are queries to "pkg-docs.racket-lang.org", with the idea tha such a server will exist for reading all package documentation online. Also, a package's documentation that refer to documentation for uninstalled packages, in which case the corresponding links will not get rewritten and will continue to point to the server. Rendering the "local-redirect.js" script spends a lot of time just converting among different path formats. Various library changes in this commit are aimed at speed up those conversions, but the big improvement came from a `path->url-string' that shortcuts conversion os simple Unix paths. |
||
---|---|---|
.. | ||
commands | ||
infotab/lang | ||
private | ||
collects.rkt | ||
configtab.rkt | ||
dirs.rkt | ||
doc-db.rkt | ||
getinfo.rkt | ||
info.rkt | ||
infotab.rkt | ||
link.rkt | ||
main-collects.rkt | ||
main-doc.rkt | ||
main.lch | ||
main.rkt | ||
option-sig.rkt | ||
option-unit.rkt | ||
pack.rkt | ||
parallel-build.rkt | ||
parallel-do.rkt | ||
path-relativize.rkt | ||
path-to-relative.rkt | ||
plt-installer-sig.rkt | ||
plt-installer-unit.rkt | ||
plt-installer.rkt | ||
plt-single-installer.rkt | ||
scribble.rkt | ||
setup-cmdline.rkt | ||
setup-go.rkt | ||
setup-unit.rkt | ||
setup.rkt | ||
unixstyle-install.rkt | ||
unpack.rkt | ||
variant.rkt | ||
winvers-change.rkt | ||
winvers.rkt | ||
xref.rkt |