Commit Graph

7 Commits

Author SHA1 Message Date
Matthew Flatt
b36443dc6a scribble: #:doc-id argument to load-xref and associated plumbing
Keep track of the target document name (i.e., the name of the
directory that will contain the target document) for a cross
reference, when known. This identification enables a simpler dynamic
resolution of a hyperlink in almost all cases, istead of requiring
a search for an arbitrary corss-reference key.

Indirect links still need a mapping of cross-reference keys
to document locations, but the mapping can be pruned to just
section and module-name keys.

This change cuts a generated "local-redirect.js" for the main
distribution to 1/8 of its size.

original commit: a956918adb1ffe69b7cefea00f3c9d594f58734a
2014-03-16 12:40:52 -06:00
Matthew Flatt
cf3e0ef3eb scribblings config: 'keep-style and 'no-search flag, 'omit-start section
The 'keep-style avoids imposing the Racket manual style on a
document, while 'no-search omits the search box. The 'omit-start
section is like 'omit, but the document is still indexed and
available for cross-references.

Also, recognize a 'prefixable tag shape so that the set of tags
hat support prefixing is extensible.

original commit: c4f4ba4ca38c05e8beff1546a8df69617c25821c
2014-01-08 07:33:28 -07:00
Matthew Flatt
76cca479d9 restore old Scribble default style, but make new style default for manuals
Using
 #lang scribble/base
produces HTML output in the old style, while
 #lang scribble/manual
uses the new style.

To get the new style without switching to `#lang scribble/manual`,
use `manual-doc-style`.

Related changes include the addition of `css-style-addition` and
`js-style-addition`.

original commit: b520b66c4e8e54909c7d7b1126044e984989e8ef
2013-11-16 14:38:59 -07:00
Matthew Flatt
cc37b26e35 scribble: add style to distinguish definition sites
original commit: e4a0bff456d2c40d688c6b49322ed94ec666b69c
2013-11-14 07:41:25 -07:00
Matthew Flatt
d612610615 scribble: add --html-tree <n> mode for rendering to depth <n>
Depth 0 is the same as `--html`, depth 1 is the same as `--htmls`,
and higher depths cause sections and subsections to be rendered
into separate directories when they have their own pages.

original commit: a0c306e2ed0fe9c367cc939de946576552157dac
2013-11-08 05:49:32 -07:00
Matthew Flatt
54a1dbc33f misc changes to avoid absolute paths in bytecode files
In many cases, `path->collects-relative' is used instead of
`path->main-collects-relative' to generalize existing support
for collection-relative paths.

original commit: f87981f96057c26cb311e786a91229bf4a874e5b
2013-07-08 12:24:17 -06:00
Matthew Flatt
b79fa2c540 reorganize into core plus packages
The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.

original commit: b2ebb0a28bf8136e75cd98316c22fe54c30eacb2
2013-06-19 09:01:37 -06:00