Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76240 - in website/public_html/beta: . generated site-tools/boost_site site-tools/templates
From: dnljms_at_[hidden]
Date: 2011-12-31 05:33:04


Author: danieljames
Date: 2011-12-31 05:33:03 EST (Sat, 31 Dec 2011)
New Revision: 76240
URL: http://svn.boost.org/trac/boost/changeset/76240

Log:
Website: Don't overwrite index page when generating site.

Added:
   website/public_html/beta/generated/
   website/public_html/beta/generated/home-items.html (contents, props changed)
Text files modified:
   website/public_html/beta/index.html | 53 -----------------
   website/public_html/beta/site-tools/boost_site/settings.py | 2
   website/public_html/beta/site-tools/templates/index-src.html | 120 ----------------------------------------
   3 files changed, 2 insertions(+), 173 deletions(-)

Added: website/public_html/beta/generated/home-items.html
==============================================================================
--- (empty file)
+++ website/public_html/beta/generated/home-items.html 2011-12-31 05:33:03 EST (Sat, 31 Dec 2011)
@@ -0,0 +1,55 @@
+
+ <div class="directory-item" id="important-downloads">
+ <h2>Downloads</h2>
+
+<h3>Current Release</h3>
+<ul id="downloads">
+<li><span class="news-title">Version 1.48.0 (release notes)</span><span class="news-date">November 15th, 2011 15:47 GMT</span></li>
+</ul>
+
+ <p>More Downloads...
+ (RSS)</p>
+ </div>
+
+ <div class="directory-item" id="important-news">
+ <h2>News</h2>
+
+ <ul id="news">
+
+ <li><span class=
+ "news-title">Version 1.48.0</span>
+ <span class=
+ "news-description"><span class="brief"><span class="purpose">
+ New Libraries: Container, Locale, Move. Updated Libraries: Asio, Chrono, Config,
+ Fusion, Geometry, Graph, Interprocess, Intrusive, Lexical cast, Math, MSM,
+ Numeric Conversion, Proto, Regex, Spirit, TypeTraits, Unordered, Wave
+ </span></span></span>
+ <span class=
+ "news-date">November 15th, 2011 15:47 GMT</span></li>
+ <li><span class=
+ "news-title">Version 1.47.0</span>
+ <span class=
+ "news-description"><span class="brief"><span class="purpose">
+ New Libraries: Chrono, Geometry, Phoenix and Ratio. Updated Libraries: Accumulators,
+ Asio, Config, DateTime, Dynamic Bitset, Foreach, Function, Function Types,
+ Graph, Iostreams, Iterator, Lexical Cast, Logic, Math, Meta State Machine,
+ MultiIndex, Proto, Random, Range, Spirit, Tokenizer, Utility, Uuid, Wave
+ </span></span></span>
+ <span class=
+ "news-date">July 11th, 2011 22:19 GMT</span></li>
+ <li><span class=
+ "news-title">Version 1.46.1</span>
+ <span class=
+ "news-description"><span class="brief"><span class="purpose">
+ Bug fixes: Asio, Fusion, Graph, Icl, Math, Polygon, Proto, Property Tree, Signals2,
+ TR1, Unordered.
+ </span></span></span>
+ <span class=
+ "news-date">March 12th, 2011 15:45 GMT</span></li> </ul>
+
+ <p>More News... (<a href=
+ "feed/news.rss">RSS</a>)</p>
+ </div>
+
+ <div class="clear"></div>
+ </div>

Modified: website/public_html/beta/index.html
==============================================================================
--- website/public_html/beta/index.html (original)
+++ website/public_html/beta/index.html 2011-12-31 05:33:03 EST (Sat, 31 Dec 2011)
@@ -18,7 +18,6 @@
 Note: Editing website content is documented at:
 http://www.boost.org/development/website_updating.html
 -->
-<!-- Don't edit this page! It's generated by site-tools/site-tools.py -->
 
 <body>
   <div id="heading">
@@ -90,57 +89,7 @@
                   Community</a>.</span></p>
                 </div>
 
- <div class="directory-item" id="important-downloads">
- <h2>Downloads</h2>
-
-<h3>Current Release</h3>
-<ul id="downloads">
-<li><span class="news-title">Version 1.48.0 (release notes)</span><span class="news-date">November 15th, 2011 15:47 GMT</span></li>
-</ul>
-
- <p>More Downloads...
- (RSS)</p>
- </div>
-
- <div class="directory-item" id="important-news">
- <h2>News</h2>
-
- <ul id="news">
-
- <li><span class=
- "news-title">Version 1.48.0</span>
- <span class=
- "news-description"><span class="brief"><span class="purpose">
- New Libraries: Container, Locale, Move. Updated Libraries: Asio, Chrono, Config,
- Fusion, Geometry, Graph, Interprocess, Intrusive, Lexical cast, Math, MSM,
- Numeric Conversion, Proto, Regex, Spirit, TypeTraits, Unordered, Wave
- </span></span></span>
- <span class=
- "news-date">November 15th, 2011 15:47 GMT</span></li>
- <li><span class=
- "news-title">Version 1.47.0</span>
- <span class=
- "news-description"><span class="brief"><span class="purpose">
- New Libraries: Chrono, Geometry, Phoenix and Ratio. Updated Libraries: Accumulators,
- Asio, Config, DateTime, Dynamic Bitset, Foreach, Function, Function Types,
- Graph, Iostreams, Iterator, Lexical Cast, Logic, Math, Meta State Machine,
- MultiIndex, Proto, Random, Range, Spirit, Tokenizer, Utility, Uuid, Wave
- </span></span></span>
- <span class=
- "news-date">July 11th, 2011 22:19 GMT</span></li>
- <li><span class=
- "news-title">Version 1.46.1</span>
- <span class=
- "news-description"><span class="brief"><span class="purpose">
- Bug fixes: Asio, Fusion, Graph, Icl, Math, Polygon, Proto, Property Tree, Signals2,
- TR1, Unordered.
- </span></span></span>
- <span class=
- "news-date">March 12th, 2011 15:45 GMT</span></li> </ul>
-
- <p>More News... (<a href=
- "feed/news.rss">RSS</a>)</p>
- </div>
+ <!--#include virtual="/generated/home-items.html" -->
 
                 <div class="clear"></div>
               </div>

Modified: website/public_html/beta/site-tools/boost_site/settings.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/settings.py (original)
+++ website/public_html/beta/site-tools/boost_site/settings.py 2011-12-31 05:33:03 EST (Sat, 31 Dec 2011)
@@ -38,7 +38,7 @@
         'users/download/index.html' : 'site-tools/templates/download-template.html',
         'users/history/index.html' : 'site-tools/templates/history-template.html',
         'users/news/index.html' : 'site-tools/templates/news-template.html',
- 'index.html' : 'site-tools/templates/index-src.html'
+ 'generated/home-items.html' : 'site-tools/templates/index-src.html'
     },
     # See boost_site.pages for matches pattern syntax.
     #

Modified: website/public_html/beta/site-tools/templates/index-src.html
==============================================================================
--- website/public_html/beta/site-tools/templates/index-src.html (original)
+++ website/public_html/beta/site-tools/templates/index-src.html 2011-12-31 05:33:03 EST (Sat, 31 Dec 2011)
@@ -1,100 +1,7 @@
 ${
 # TODO: This is duplicated from other places, should only be set once?
 news = pages.match_pages(['feed/news/*.qbk', 'feed/history/*.qbk|released'], 3)
-}$<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-<head>
- <meta name="generator" content=
- "HTML Tidy for Windows (vers 1st November 2003), see www.w3.org" />
-
- <title>Boost C++ Libraries</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="icon" href="/favicon.ico" type="image/ico" />
- <link rel="stylesheet" type="text/css" href="/style-v2/section-welcome.css" />
- <!--[if IE 7]> <style type="text/css"> body { behavior: url(/style-v2/csshover3.htc); } </style> <![endif]-->
- <meta name="google-site-verification" content="mpr2HgFpodnbF_8fv4qXd9roIClVwtX3C-Kd3F6r61w" />
-</head>
-
-<!--
-Note: Editing website content is documented at:
-http://www.boost.org/development/website_updating.html
--->
-${
- # Obviously doesn't apply here.
- emit("<!-- Don't edit this page! It's generated by site-tools/site-tools.py -->\n");
 }$
-<body>
- <div id="heading">
- <!--#include virtual="/common/heading.html" --> </div>
-
- <div id="body">
- <div id="body-inner">
- <div id="content">
- <div class="section" id="intro">
- <div class="section-0">
- <div class="section-body">
- <div class="directory">
- <div class="directory-item" id="welcome">
- <h2>Welcome to Boost.org!</h2>
-
- <p>Boost provides free peer-reviewed portable C++ source
- libraries.</p>
-
- <p>We emphasize libraries that work well with the C++
- Standard Library. Boost libraries are intended to be widely
- useful, and usable across a broad spectrum of applications.
- The Boost license
- encourages both commercial and non-commercial use.</p>
-
- <p>We aim to establish "existing practice" and provide
- reference implementations so that Boost libraries are
- suitable for eventual standardization. Ten Boost libraries
- are already included in the <a href=
- "http://www.open-std.org/jtc1/sc22/wg21/" class=
- "external">C++ Standards Committee's</a> Library Technical
- Report (<a href=
- "http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1745.pdf"
- class="external">TR1</a>) and will be in the new C++0x
- Standard now being finalized. C++0x will also include several
- more Boost libraries in addition to those from TR1.
- More Boost libraries are proposed
- for <a href=
- "http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1810.html"
- class="external">TR2</a>.</p>
-
- <h3 class="note">Getting Started</h3>
-
- <p class="note"><span class="note-body">Boost works on
- almost any modern operating system, including UNIX and
- Windows variants. Follow the <a href=
- "/doc/libs/release/more/getting_started/index.html">Getting
- Started Guide</a> to download and install Boost. Popular
- Linux and Unix distributions such as <a href=
- "http://fedoraproject.org/" class="external">Fedora</a>,
- <a href="http://www.debian.org/" class=
- "external">Debian</a>, and <a href="http://www.netbsd.org/"
- class="external">NetBSD</a> include pre-built Boost
- packages. Boost may also already be available on your
- organization's internal web server.</span></p>
-
- <h3 class="note">Background</h3>
-
- <p class="note"><span class="note-body">Read on with the
- introductory material to help you
- understand what Boost is about and to help in educating
- your organization about Boost.</span></p>
-
- <h3 class="note">Community</h3>
-
- <p class="note"><span class="note-body">Boost welcomes and
- thrives on participation from a variety of individuals and
- organizations. Many avenues for participation are available
- in the <a href="/community/">Boost
- Community</a>.</span></p>
- </div>
-
                 <div class="directory-item" id="important-downloads">
                   <h2>Downloads</h2>
 
@@ -138,30 +45,3 @@
 
                 <div class="clear"></div>
               </div>
- </div>
- </div>
- </div>
- </div>
-
- <div id="sidebar">
- <!--#include virtual="/common/sidebar-common.html" --><!--#include virtual="/common/sidebar-welcome.html" --> </div>
-
- <div class="clear"></div>
- </div>
- </div>
-
- <div id="footer">
- <div id="footer-left">
- <div id="copyright">
- <p>Copyright Beman Dawes, David Abrahams, 1998-2005.</p>
-
- <p>Copyright Rene Rivera 2004-2007.</p>
- </div><!--#include virtual="/common/footer-license.html" --> </div>
-
- <div id="footer-right">
- <!--#include virtual="/common/footer-banners.html" --> </div>
-
- <div class="clear"></div>
- </div>
-</body>
-</html>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk