Commit Graph

32694 Commits

Author SHA1 Message Date
Matthew Flatt
ed3cf59cb2 new web pages: adjust explanation of GIT_DIR 2014-03-01 19:56:00 -07:00
Matthew Flatt
d9de09e486 new web pages: fix "snapshots" link on main page 2014-03-01 19:56:00 -07:00
Matthew Flatt
17b11a5c79 move revised web pages into package tree 2014-03-01 19:56:00 -07:00
Matthew Flatt
b3c8ab33f0 minor repairs for snapshot page 2014-03-01 19:55:59 -07:00
Ryan Culpepper
65462ced81 description for unix-specific srcs 2014-03-01 19:55:59 -07:00
Ryan Culpepper
85b4e7f17e v6.0 installers info 2014-03-01 19:55:59 -07:00
Sam Tobin-Hochstadt
c9416fdfe9 Narrower irc page. 2014-03-01 19:55:59 -07:00
Sam Tobin-Hochstadt
65e3a5c389 Format the license page better. 2014-03-01 19:55:59 -07:00
Matthew Flatt
4d8c8007e8 small and suggested adjustments to page content
Also, allow navigation links in the right style without whole-page
styles.
2014-03-01 19:55:58 -07:00
Matthew Flatt
d27300f75e make "pre" page just point to snapshot sites 2014-03-01 19:55:58 -07:00
Matthew Flatt
aed4f6a063 move main URLs to site definitions instead of built-in configuration
Also, change local mode to use absolute "file://" references across
sites (makes "doc-site.js" plus "doc-site.css" work locally) and
add "index.html" to paths a needed, but add a `-r` relative mode for
the old behavior.
2014-03-01 19:55:58 -07:00
Matthew Flatt
cec98c7cea improve handling of resources for sharing
Separate the "generated resources" part of a site from the "rendered
element" part, so that a site that doesn't use full-page formatting
can take share the resources of one that does.

Also, hide the "resources" function in a site to narrow the interface
exported by `plt-web`.
2014-03-01 19:55:58 -07:00
Matthew Flatt
547957fb4d reduce dependencies for non-page-style mode 2014-03-01 19:55:58 -07:00
Matthew Flatt
8ae703cb24 reorganize into packages: "plt-web" and "plt-new-services"
The "plt-new-services" package defines the "meta/new-web"
collection, with the idea that it will be merged into
"plt-services" and later replace "meta/web".
2014-03-01 19:55:58 -07:00
Sam Tobin-Hochstadt
644ae2238b Mostly done. 2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
ed5a6b1fbf fix a number of subsidiary pages 2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
e1cefa0c68 improve links 2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
f6c1151ab0 Remove obsolete resources, and make progress on some new pages. 2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
bf7da74c67 some abstraction into files 2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
3e7e3d7330 The whole front page now works properly, with all examples. 2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
bcb1c40f93 examples work 2014-03-01 19:55:56 -07:00
Eli Barzilay
6b100291e0 Update the layout with new resources, and add the files in. 2014-03-01 19:55:56 -07:00
Eli Barzilay
70078746fa Add copying of all files under "common/resources" as resources.
Note that they're all copied "flatly" into the toplevel web directory.
There is no problem with overwriting, since if a resource file is
rendered twice the renderer will throw an error.  There shouldn't be too
many chances for such clashes since each kind of resource has a unique
suffix, but if this happens it's easy to change `copydir/flat' to copy
files using their paths, or something similar (like copying "x/y.z" to
"x-y.z").  In that case references to these resources should change too.

Also move the logo and favicon files to that directory instead of
copying them individually.
2014-03-01 19:55:56 -07:00
Eli Barzilay
dd1996eefd Major simplification of site resources.
Only one resource (`make-navbar') returns a function now, the others
return just misc contents.  Dump the idea of a `head' resource which
complicated things whenever something new needed to be injected into the
head section -- and instead do the head assembly in the page layout
function.

Turn the preamble and postamble into resources too in preparation for
more contents taht is used in the postamble, mostly dealing with
resource files.  (The former doesn't need to be one since it's just
static text, but make it symmetric.)

Finally, the resources (implemented in `make-resources') have some
symbols that return things that are constructed by the code, and the
rest are files that are copied.  There are also some symbolic names that
stand for "special" resources -- these should get attention on changes,
since they are mostly there to expose some things for various pages.
For example, if more CSS is added, `style-path' should change to be a
list of CSS files and the code that uses it (in the git content that is
derived by gitweb) should also be adjusted to deal with more than one
file.
2014-03-01 19:55:56 -07:00
Eli Barzilay
3bdf68ebac Simplify code around resources.
Note the `case-lambda' hack to avoid repeating the default file resource
target.  (Do this since it might actually change in the future to not be
the "basefile" of the source file.)
2014-03-01 19:55:56 -07:00
Eli Barzilay
d7547d9530 Added all new images.
Using some silly innerHTML hack for the prev/next things and quick text
to show how to add the book images too.  Note that the book URLs are
better than the ones you used: drop www where applicable, use the PLAI
proper site.  Also, I took the ROR cover from the PDF, so it's has a
much better resolution.
2014-03-01 19:55:56 -07:00
Eli Barzilay
25f35a7fb3 Remove no-longer-needed sample code. 2014-03-01 19:55:56 -07:00
Eli Barzilay
3835ff8a41 Move existing www-specific images to their own directory. 2014-03-01 19:55:55 -07:00
Sam Tobin-Hochstadt
2ed792d8ca full width 2014-03-01 19:55:55 -07:00
Sam Tobin-Hochstadt
af2b3ccb39 progress on using the actual web page gen code 2014-03-01 19:55:55 -07:00
Sam Tobin-Hochstadt
879256dbd5 Lazily load sendmail. 2014-03-01 19:55:55 -07:00
Sam Tobin-Hochstadt
13a3ea97bd done except for code 2014-03-01 19:55:55 -07:00
Eli Barzilay
24e2146686 Cleanup.
Left comments in "www/index.rkt" about adding more files.
2014-03-01 19:55:54 -07:00
Eli Barzilay
c9641c8be1 Update TODO html. 2014-03-01 19:55:54 -07:00
Eli Barzilay
b9f3cd746e Added the scripts on the bottom of the page.
All are commented out ATM.  (The files, if any, need to be distributed
in addition to the CSS file(s).)
2014-03-01 19:55:54 -07:00
Eli Barzilay
e565d8f84f Update the TODO html. 2014-03-01 19:55:54 -07:00
Eli Barzilay
5ed2101d50 More head-level additions.
Note that I used "image/x-icon" for the "shortcut icon" type, even
though it's different from the one used on the "icon" type right above
it.

Need to sort the CSS mess: I think that "css/style.css" is meant to be
out global CSS (so it needs to change), and "css/scribble.css" is
probably what "more.css" is doing and it's being used only on the front
page since that has the scribble-rendered examples.

Also, need to scan all the "@;" comments here: some might need to be in
the actual HTML output, and some look like leftovers from wherever this
HTML was ripped from that are not applicable.
2014-03-01 19:55:54 -07:00
Eli Barzilay
57bf159aa4 Add magic IE chants to all page tops. 2014-03-01 19:55:54 -07:00
Eli Barzilay
d67cc5b094 Switch from xhtml to plain html.
Since that's the new way, according to Sam at least.
2014-03-01 19:55:53 -07:00
Sam Tobin-Hochstadt
12e70d8c66 up 2014-03-01 19:55:53 -07:00
Sam Tobin-Hochstadt
a819f0f60e add grow boxes 2014-03-01 19:55:53 -07:00
Eli Barzilay
127ff2f433 Also a different directory to compare to. 2014-03-01 19:55:53 -07:00
Eli Barzilay
e70711f14b Revise the build-web script to build stuff in a local "output" directory. 2014-03-01 19:55:53 -07:00
Eli Barzilay
74aaa6bab4 Should be executable. 2014-03-01 19:55:53 -07:00
Eli Barzilay
ac4b69dba4 Made the build-web script build in local mode. 2014-03-01 19:55:53 -07:00
Eli Barzilay
435206aab5 Add my build-web script to run it conveniently. 2014-03-01 19:55:53 -07:00
Eli Barzilay
a42b5e0275 Use the new `doctype'. 2014-03-01 19:55:53 -07:00
Sam Tobin-Hochstadt
273e44c4be more 2014-03-01 19:55:53 -07:00
Eli Barzilay
6b1b420942 Use literal. 2014-03-01 19:55:52 -07:00
Eli Barzilay
d6cd420e81 This will track the stuff that needs to be done. 2014-03-01 19:55:52 -07:00