# HG changeset patch # User Bryan O'Sullivan # Date 1238137318 25200 # Node ID 7893b382471518d748727acb7ffdb3af5dced8c0 # Parent e0d9eb01e4c2c13661c3c06f38168fda19c22c7b Add a top-level index page. diff -r e0d9eb01e4c2 -r 7893b3824715 en/Makefile --- a/en/Makefile Thu Mar 26 23:05:28 2009 -0700 +++ b/en/Makefile Fri Mar 27 00:01:58 2009 -0700 @@ -186,6 +186,7 @@ rsync -avz --delete dist sp.red-bean.com:public_html/hgbook vpath %.css ../web +vpath %.html.in ../web vpath %.js ../web/javascript $(obj-websup)/%.css: %.css diff -r e0d9eb01e4c2 -r 7893b3824715 web/index.html.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/index.html.in Fri Mar 27 00:01:58 2009 -0700 @@ -0,0 +1,66 @@ + +{% extends "boilerplate.html" %} + +{% block bodycontent %} + + +
+

Welcome to Mercurial: The Definitive Guide

+ +

This is the online home of the book “Mercurial: The + Definitive Guide”. + It will be published in 2009 by O'Reilly Media.

+ +

I make the content freely available + online. If you like it, please make a note to buy a copy!

+ +

For news updates, please + visit my blog.

+ +

You can contribute!

+ +

I publish the source + code for this book as a Mercurial repository. Please feel + welcome to clone it, make modifications to your copy, and send me + changes.

+ +

The online version of the book includes a comment system + that you can use to send feedback involving errors, omissions, and + suggestions.

+ +

(If you would like to adapt the comment system for a + publishing project of your own, the source for the web application + is included with the book.)

+ +

What is Mercurial?

+ +

Mercurial is a + fast, lightweight source control management system + designed for easy and efficient handling of very large distributed + projects.

+ +

How I help Mercurial and free software, and you can too

+ +

Mercurial is a member of the Software Freedom Conservancy, a + wonderful non-profit organisation that offers its member projects + legal and administrative advice.

+ +

I am donating my royalties from the sales of this book (once it is + published) to the Software Freedom Conservancy, and I encourage + you to support their work, too.

+ +

The SFC can + accept accept + donations (tax-free under IRS 501(c)(3), within the United + States) on behalf of its member projects. If you would like to + support Mercurial directly, please consider making a donation to + the SFC on its behalf.

+ +

If you would like to help free software developers to provide + their important public services without being impeded by legal + issues, please consider donating to the SFC's sister organisation, + the Software Freedom Law + Center.

+
+{% endblock %} diff -r e0d9eb01e4c2 -r 7893b3824715 web/texpand.py --- a/web/texpand.py Thu Mar 26 23:05:28 2009 -0700 +++ b/web/texpand.py Fri Mar 27 00:01:58 2009 -0700 @@ -7,7 +7,7 @@ from django.template import Context, TemplateDoesNotExist from django.template.loader import get_template, get_template_from_string from django.core.management import setup_environ -import rwh.settings as settings +import hgbook.settings as settings import sys setup_environ(settings)