Commit Graph

30 Commits

Author SHA1 Message Date
Ben Greenman
367e703c32
typo: local-redirect 'page that is' => 'page is' 2018-01-30 23:14:59 -05:00
Matthew Butterick
06bdd2f0c3 update copyright year to 2018 2018-01-12 15:44:07 -06:00
Ben Greenman
7d2e23dc28 setup-scribblings: guard against missing 'scribblings
Since `get-info/full` may return a function that is undefined
 for the symbol 'scribblings, pass a failure thunk.

The function can be undefined for 'scribblings if:

1. Install a package with a `scribblings` in its info.rkt
2. Remove `scribblings` from the info file
3. Run `raco setup`
2017-09-25 22:20:32 -04:00
Matthew Flatt
c8ecb5e5fe fix URL parsing in search-in-context browser trampoline
Use the `URL` class in JavaScript instead of manually parsing a URL
string.

Related to #1798
2017-09-09 19:48:20 -06:00
Jay McCarthy
0d59486839 Remove inline style 2017-09-05 15:15:38 +01:00
Jay McCarthy
db82df1295 Make decision on helper text dynamically 2017-09-05 11:13:01 +01:00
Jay McCarthy
d325e03782 Redirect users attention to local vs global documentation search distinction 2017-09-05 09:42:29 +01:00
Matthew Flatt
8da0be8031 fix relative references for license and acks in installer build
The process of creating an installer involves building "racket-index"
in user scope, but the license and acks files are normally only in
installation scope. An explicit targeting of the installation-scope
output needs to be disabled when the documentats are rendered to
user scope.

Closes #1635
2017-03-24 16:02:23 -06:00
Matthew Butterick
74909ff06b Update start.scrbl
Typo: "will use go" => "will go"
2017-01-12 19:09:36 -08:00
Matthew Butterick
cfc0784e49 delete unnecessary linebreak 2017-01-10 22:01:18 -06:00
Matthew Butterick
fc194d7337 update copyright year to 2017 2017-01-02 06:42:31 -07:00
Matthew Flatt
710320e3dc "Mac OS X" -> "Mac OS"
Although "macOS" is the correct name for Apple's current desktop OS,
we've decided to go with "Mac OS" to cover all of Apple's Unix-like
desktop OS versions. The label "Mac OS" is more readable, clear in
context (i.e., unlikely to be confused with the Mac OSes that
proceeded Mac OS X), and as likely to match Apple's future OS names
as anything.
2016-12-23 12:18:36 -07:00
Matthew Flatt
4902b5e10c more forceful update of Scribble common files for docs
racket/scribble#69
2016-11-21 08:02:09 -07:00
Ben Greenman
1dd934c8cb Add H: and R: search box options, to search for #lang and #reader providers 2016-10-04 13:05:00 -04:00
Matthew Flatt
e3ae0103af fix a backward test on use-compiled-file-check
The backward test causes docs to be rebuilt too much.
2016-07-28 09:19:11 -06:00
Matthew Flatt
fc345ed249 add use-compiled-file-check
Along with the `PLT_COMPILED_FILE_CHECK` environment variable, allows
the timestamp check to be disabled when deciding whether to use a
compiled bytecode file.

In accomodating this change, `raco make` and `raco setup` in all modes
check whether the SHA1 hash of a module source matches the one
recorded in its ".dep" file, even if the timestamp on the bytecode
file is newer. (If the compile-file check mode is 'exists, the
timestamp is completely ignored.)
2016-07-26 10:27:08 -06:00
Matthew Butterick
0fb11e61e6 update copyright from 2015 to 2016 2016-01-13 19:40:35 -07:00
Jay McCarthy
ddaffc8248 Revert "A kinder, gentler, friendly starting documentation page"
This reverts commit 260bfe9fec.
2015-12-20 10:51:31 -05:00
Jay McCarthy
260bfe9fec A kinder, gentler, friendly starting documentation page 2015-12-19 21:56:55 -05:00
Jay McCarthy
2e34599ce3 Support custom categories on root documentation page
When custom categories are used in older versions, raco setup will
report a warning, but the documentation will still appear under the
Miscellaneous section. Thus, this is a backwards compatible
implementation of the idea.
2015-12-19 16:56:48 -05:00
Matthew Flatt
3bcd153fb6 adjust copyright dates: 2014 -> 2015
Better late than never?
2015-10-05 13:39:11 -06:00
Matthew Flatt
4abedf63e8 raco setup: don't try to "sync" a doc that isn't pre-rendered
On my machine, the sync path was sometimes triggered for "htdp-ptr".
(I'm not sure why; progress toward determinsitic bytecode might
be relevant.) Adjust the trigger for sync mode to check that the
needed "provides.sxref" file exists.
2015-09-18 11:53:35 -06:00
Robby Findler
a9ac3be43c add missing default value 2015-05-18 20:35:36 -05:00
Robby Findler
68b3371418 add get-current-doc-state, doc-state-changed?, and doc-state? 2015-04-17 04:51:57 -05:00
Matthew Flatt
de9bc3d71a raco setup: fix PDF document rendering
Merge to v6.2
2015-03-19 12:04:11 -06:00
Matthew Flatt
52ca80a7ab search document: rint error without aborting on bad index entry
Survive a broken link in the index by complaining via `log-error`
and continuing.
2015-02-20 13:34:09 -07:00
Matthew Flatt
3b866db378 raco setup: render each document with a separate namespace
Rending a document can deserialize values, which can load modules
that would otherwise not be loaded by Scribble, so render each
document with a fresh namespace that is discarded after rendering.
2015-01-21 04:53:14 -07:00
Matthew Flatt
48290d3360 raco setup: reduce Scribble sharing across doc builds 2015-01-20 13:52:30 -07:00
bdeket
1f46ea1846 convert find-user-pkgs-dir to a simple-form-path
find-relative-path expects a simple-form-path, but according to the documentation PLTUSERHOME as propagated by find-user-pkgs-dir must only be a complete-path?
Without this building of the documentation fails if PLTUSERHOME contains ".."
2015-01-09 08:55:52 -07:00
Matthew Flatt
2d4f3e2ac9 remove the "racket-pkgs" directory layer
The layer is now redundant, since everything left in "pkgs" is in the
"racket-pkgs" category.
2014-12-08 05:22:59 -07:00