hgbook
changeset 598:7893b3824715
Add a top-level index page.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri Mar 27 00:01:58 2009 -0700 (2009-03-27) |
parents | e0d9eb01e4c2 |
children | 9e8e5292acaa c3c5b964901e |
files | en/Makefile web/index.html web/index.html.in web/texpand.py |
line diff
1.1 --- a/en/Makefile Thu Mar 26 23:05:28 2009 -0700 1.2 +++ b/en/Makefile Fri Mar 27 00:01:58 2009 -0700 1.3 @@ -186,6 +186,7 @@ 1.4 rsync -avz --delete dist sp.red-bean.com:public_html/hgbook 1.5 1.6 vpath %.css ../web 1.7 +vpath %.html.in ../web 1.8 vpath %.js ../web/javascript 1.9 1.10 $(obj-websup)/%.css: %.css
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/web/index.html.in Fri Mar 27 00:01:58 2009 -0700 2.3 @@ -0,0 +1,66 @@ 2.4 +<!-- -*- html -*- --> 2.5 +{% extends "boilerplate.html" %} 2.6 + 2.7 +{% block bodycontent %} 2.8 +<div class="navheader"><h1 class="booktitle">Mercurial: The Definitive Guide<div class="authors">by Bryan 2.9 +O'Sullivan</div></h1></div> 2.10 + 2.11 +<div class="book"> 2.12 + <h2>Welcome to Mercurial: The Definitive Guide</h2> 2.13 + 2.14 + <p>This is the online home of the book “Mercurial: The 2.15 + Definitive Guide”. 2.16 + It will be published in 2009 by O'Reilly Media.</p> 2.17 + 2.18 + <p>I make the content <a href="/read/">freely available 2.19 + online</a>. If you like it, please make a note to buy a copy!</p> 2.20 + 2.21 + <p>For news updates, please 2.22 + visit <a href="http://www.serpentine.com/blog/">my blog</a>.</p> 2.23 + 2.24 + <h2>You can contribute!</h2> 2.25 + 2.26 + <p>I publish the <a href="http://hgbook.red-bean.com/">source 2.27 + code</a> for this book as a Mercurial repository. Please feel 2.28 + welcome to clone it, make modifications to your copy, and send me 2.29 + changes.</p> 2.30 + 2.31 + <p>The online version of the book includes a comment system 2.32 + that you can use to send feedback involving errors, omissions, and 2.33 + suggestions.</p> 2.34 + 2.35 + <p>(If you would like to adapt the comment system for a 2.36 + publishing project of your own, the source for the web application 2.37 + is included with the book.)</p> 2.38 + 2.39 + <h2>What is Mercurial?</h2> 2.40 + 2.41 + <p><a href="http://www.selenic.com/mercurial">Mercurial</a> is a 2.42 + fast, lightweight source control management system 2.43 + designed for easy and efficient handling of very large distributed 2.44 + projects.</p> 2.45 + 2.46 + <h2>How I help Mercurial and free software, and you can too</h2> 2.47 + 2.48 + <p>Mercurial is a member of the <a href="http://conservancy.softwarefreedom.org/">Software Freedom Conservancy</a>, a 2.49 + wonderful non-profit organisation that offers its member projects 2.50 + legal and administrative advice.</p> 2.51 + 2.52 + <p>I am donating my royalties from the sales of this book (once it is 2.53 + published) to the Software Freedom Conservancy, and I encourage 2.54 + you to support their work, too.</p> 2.55 + 2.56 + <p>The SFC can 2.57 + accept <a href="http://conservancy.softwarefreedom.org/?donate">accept 2.58 + donations</a> (tax-free under IRS 501(c)(3), within the United 2.59 + States) on behalf of its member projects. If you would like to 2.60 + support Mercurial directly, please consider making a donation to 2.61 + the SFC on its behalf.</p> 2.62 + 2.63 + <p>If you would like to help free software developers to provide 2.64 + their important public services without being impeded by legal 2.65 + issues, please consider donating to the SFC's sister organisation, 2.66 + the <a href="http://www.softwarefreedom.org/">Software Freedom Law 2.67 + Center</a>.</p> 2.68 +</div> 2.69 +{% endblock %}
3.1 --- a/web/texpand.py Thu Mar 26 23:05:28 2009 -0700 3.2 +++ b/web/texpand.py Fri Mar 27 00:01:58 2009 -0700 3.3 @@ -7,7 +7,7 @@ 3.4 from django.template import Context, TemplateDoesNotExist 3.5 from django.template.loader import get_template, get_template_from_string 3.6 from django.core.management import setup_environ 3.7 -import rwh.settings as settings 3.8 +import hgbook.settings as settings 3.9 import sys 3.10 3.11 setup_environ(settings)