Commit Graph

56 Commits

Author SHA1 Message Date
Eli Barzilay
e262f66127 Fix typo in 404 page. 2012-07-10 22:12:43 -04:00
Eli Barzilay
66ef365aa4 Add a "favicon.ico" copy, and a 404 page.
The 404 page doesn't work right yet -- it should always use absolute
links.
2012-07-06 16:07:30 -04:00
Eli Barzilay
fb2b5418df More files for all sites.
Two verification files for google/bing website tools, and also add a
no-op robots.txt file to avoid error-log lines.
2012-06-27 09:26:29 -04:00
Eli Barzilay
06f67b30f3 Improve resource-files code.
Makes it easy to add more files without more bindings.
2012-06-27 09:26:28 -04:00
Eli Barzilay
b1c666c212 Some web page tweaks.
* The main page's title appears in search results, so use "The Racket
  Language" instead of "Racket".  Additional minor tweaks to a few more
  titles to make them presentable as search results.

* Add a `#:description' keyword to make it easy to add it to pages.  Add
  such texts to the main page, downloads, community, learning, people,
  and mailing list pages.

* Add a <meta name="robots" content="NOODP" /> to the front page, to
  avoid getting the ODP (dmoz) blurb, hopefully the new and improved
  description(s) will be used instead.  (If not, this should be
  reverted.)
2012-06-27 09:26:28 -04:00
Eli Barzilay
41745e4f38 Show the host we're copying content to. 2012-06-14 15:46:53 -04:00
Eli Barzilay
4d5ba08653 lambda' -> λ' 2011-12-31 14:24:41 -05:00
Eli Barzilay
fa4c073b9e Adjust meta/web' for changes in scribble/html'.
Add a `resource/referrer' abstraction for referrers, on top of plain
resources.  (When the referrer is `values', it just returns the plain
resource.)  Also add `url-of' to replace `get-resource-path'.
2011-12-28 21:07:24 -05:00
Eli Barzilay
1cd8e6cbf3 Remove the referrer argument from copyfile' and symlink', and remove
the unused `content-resource' (it is not necessary).
2011-12-28 21:07:24 -05:00
Eli Barzilay
c8c13e46bb Switch delay's to lazy's. 2011-12-28 21:07:24 -05:00
Eli Barzilay
2761c9a8ac Remove links to the cookbook and the schematics project.
(Both no longer active.)
2011-12-12 09:30:05 -05:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
8ef1d1a547 Minor tweak: use full 6 hex digits for all colors to avoid IE bogosity. 2011-05-27 18:41:45 -04:00
Eli Barzilay
43275e7b0a Make the web page header a link to the main page. 2011-03-31 11:05:52 -04:00
Eli Barzilay
00a9247fa9 Add "[pdf]" links to the doc links in the learning page. 2011-03-31 10:51:09 -04:00
Eli Barzilay
b757e502af Reuse documentation links from common/links.rkt.
This also fixes the "plt-scheme.org" reference, so also fix the redex
link to use "racket-lang.org".
2011-03-31 09:57:48 -04:00
Eli Barzilay
4842c70885 "TeachScheme!" -> "Program by Design". 2010-11-25 22:10:33 -05:00
Eli Barzilay
58febe21a0 Move the #%top' binding that makes foo:' keywords self evaluating from
`scribble/html/lang' to `scribble/html'.

Since `foo:' keywords are very common in any code that uses
`scribble/html', it is much more convenient to have it provide the
custom `#%top'.  It simplifies code that uses it, for example, files in
`meta/web/common' now use

  #lang at-exp racket/base
  (require scribble/html)

instead of the (only-in scribble/html/lang #%top) which it used before,
or instead of explicitly quoting all `foo:'s.
2010-10-28 17:31:22 -04:00
Eli Barzilay
69a490c10b More name improvements: scribble/text/textlang' -> scribble/text/lang'
and the same for `scribble/html/lang'.
2010-10-26 16:17:09 -04:00
Eli Barzilay
667c682c2b Better filename conventions: "main.rkt"s that would just require the
necessary modules are now "all.rkt"s; "shard.rkt"s turn to
"resources.rkt".

Also, "navbar.rkt" changes to "all.rkt", since it was doing the same
thing (in addition to setting the navbar).
2010-10-26 16:09:16 -04:00
Eli Barzilay
82221a51db Make the scribble/html' layout mimic the one for scribble/text'.
Ie, the difference between using it as a language and as a module is now
the same in both.  Also, improve `scribble/html' (and
`scribble/html/htmllang') by reproviding most of the corresponding text
modules.

Change `meta/web' accordingly, and improve code by making a new langugae
(`#lang meta/web').  This language is similar to `scribble/html' except
that it uses the plain scribble reader (not the `-inside' one), it
doesn't use the customized module-begin feature (that uses
`output-xml'), and it adds all the relevant bits of `meta/web/common'.
(Also, "meta/web/common.rkt" is gone, since it's used only as a language
now.)

This commit has lots of details and binding games, so it's tricky, and
potentially caused some problems.  (Took me a while to track many
breakages, so I won't be surprised if there are more.)
2010-10-26 15:36:29 -04:00
Eli Barzilay
ca040ea42a Move meta/web/html' to scribble/html'.
(See http://lists.racket-lang.org/dev/archive/2010-October/004691.html
for a discussion on calling it `html' rather than `xhtml'.)
2010-10-26 13:50:17 -04:00
Eli Barzilay
ed5033159a Add racket/list' and racket/string' to the web language, adjust
existing requires.

(It's supposed to be a convenient language...)
2010-10-26 07:21:12 -04:00
Eli Barzilay
5b4c94649c New techreport pages. 2010-09-20 15:38:18 -04:00
Eli Barzilay
fc2ed3f8c6 Fixed extra headers being duplicated 2010-08-17 22:13:18 -04:00
Matthew Flatt
57d3dd7df7 port techreports page to Racket 2010-07-23 22:28:47 -05:00
Eli Barzilay
583abebb1a Better sources (use unicode and `p*'). 2010-07-14 12:34:16 -04:00
Eli Barzilay
6158e24d84 Add a convenient macro for sections, and some sequence functions 2010-07-12 21:41:33 -04:00
Eli Barzilay
e54d7c0806 Add some newlines to make htmls more readable (and debuggable) 2010-07-12 21:41:33 -04:00
Eli Barzilay
8f69e94980 Added `get-resource-path' to get the path of any resource.
Use it to allow getting the standard resource paths from the common
layout.
2010-07-02 11:38:13 -04:00
Eli Barzilay
76300bd759 #:full-width' -> #:width', which can specify full width or a given one. 2010-07-02 11:38:12 -04:00
Eli Barzilay
e339081fd0 Added `split-attributes+body', to make it easy to write xml-like wrapper
functions, and used it in `center-div'.
2010-07-02 11:38:12 -04:00
Eli Barzilay
ed5c5fcb14 Turn the distribution list into a parameter so it can be extended. 2010-06-29 01:41:22 -04:00
Eli Barzilay
ca3b27b810 Allow #:part-of to use symbolic names, add it to a bunch of pages.
(Using a symbolic name makes it easy to use without worrying about
circular dependencies.)
2010-06-16 16:49:02 -04:00
Eli Barzilay
8694d7b8ae Provide resources from download (so do this from all uses of
`define+provide-context'); dirlist uses that instead of www.

Also dropped redundant provides of `page'.
2010-06-16 16:49:02 -04:00
Eli Barzilay
4f6502129a Finish previously incomplete treatment of contexts with #:resource 2010-06-16 16:49:02 -04:00
Eli Barzilay
098b32b0af Add template files for browsing the installer dirs directly. 2010-06-16 16:49:02 -04:00
Eli Barzilay
1cce6c1f88 Factor our the common path computation. 2010-06-16 16:49:01 -04:00
Eli Barzilay
00bca21339 Typo in error message 2010-06-16 16:49:01 -04:00
Eli Barzilay
dc0959ce05 Get our favicon to be used. 2010-06-15 13:17:50 -04:00
Eli Barzilay
5c027b6973 Fix the blog style to match other pages. 2010-06-15 13:17:50 -04:00
Eli Barzilay
8ff7a162db Added a blogger template.
This required refactoring some of the layout code to make it possible to
embed pieces of it in the template.
2010-06-14 14:26:09 -04:00
Eli Barzilay
e406dc2504 Add toplevel lists page.
Messy right now, but has all the relevant pieces.
2010-06-11 14:54:17 -04:00
Eli Barzilay
5835605fe8 Lots of improvements to the front page source. 2010-06-11 14:54:16 -04:00
Eli Barzilay
2d312484f7 Added a skeleton page for planet. 2010-06-11 14:54:16 -04:00
Eli Barzilay
81a9bbafd6 Download platform selector 2010-06-07 13:41:13 -04:00
Eli Barzilay
fdd1c8d003 Toplevel download links 2010-06-07 13:41:13 -04:00
Eli Barzilay
2edf998fdb No need for multiple arguments here 2010-06-07 13:41:13 -04:00
Eli Barzilay
054ce9d21c Fix a small but nasty bug, and the related problem in stubs. 2010-06-06 05:40:16 -04:00
Eli Barzilay
8603bd22b0 Distribution via rsync. 2010-06-05 16:15:39 -04:00