Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76761 - in website/public_html/beta: feed/history generated/state site-tools/boost_site users/download users/history
From: dnljms_at_[hidden]
Date: 2012-01-28 13:59:09


Author: danieljames
Date: 2012-01-28 13:59:07 EST (Sat, 28 Jan 2012)
New Revision: 76761
URL: http://svn.boost.org/trac/boost/changeset/76761

Log:
Website: Rewrite release notes link for beta docs.
Text files modified:
   website/public_html/beta/feed/history/boost_1_49_0.qbk | 1 +
   website/public_html/beta/generated/state/feed-pages.txt | 5 +++--
   website/public_html/beta/site-tools/boost_site/pages.py | 17 ++++++++++++++++-
   website/public_html/beta/users/download/index.html | 2 ++
   website/public_html/beta/users/history/version_1_49_0.html | 30 +++++++++++++++---------------
   5 files changed, 37 insertions(+), 18 deletions(-)

Modified: website/public_html/beta/feed/history/boost_1_49_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_49_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_49_0.qbk 2012-01-28 13:59:07 EST (Sat, 28 Jan 2012)
@@ -13,6 +13,7 @@
 
 [status beta 1]
 [download http://sourceforge.net/projects/boost/files/boost/1.49.0.beta.1/]
+[documentation /doc/libs/1_49_0_beta1/]
 
 [section Updated Libraries]
 

Modified: website/public_html/beta/generated/state/feed-pages.txt
==============================================================================
--- website/public_html/beta/generated/state/feed-pages.txt (original)
+++ website/public_html/beta/generated/state/feed-pages.txt 2012-01-28 13:59:07 EST (Sat, 28 Jan 2012)
@@ -1832,12 +1832,13 @@
 (feed/history/boost_1_49_0.qbk
 -dir_location
 -documentation
+"/doc/libs/1_49_0_beta1/
 -download
 "http://sourceforge.net/projects/boost/files/boost/1.49.0.beta.1/
 -id
 "version_1_49_0
 -last_modified
-.1327767011.67
+.1327776840.6
 -location
 "users/history/version_1_49_0.html
 -page_state
@@ -1849,7 +1850,7 @@
 " Lexical Cast, Locale, Move, Property Tree, Spirit, Thread, Unordered, Uuid.
 "
 -qbk_hash
-"2dbd7f5939d4a5c9fe761232c8b5cb6d10cdc0e96107e0190db349fd2d1b33fc
+"e7e4ccfa5f0352eaf806eef8bacc1827ef803b41d1824649395d3640913a267a
 -release_status
 "beta 1
 -rss_hash

Modified: website/public_html/beta/site-tools/boost_site/pages.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/pages.py (original)
+++ website/public_html/beta/site-tools/boost_site/pages.py 2012-01-28 13:59:07 EST (Sat, 28 Jan 2012)
@@ -209,7 +209,6 @@
     
         self.title_xml = boost_site.util.fragment_to_string(values['title_fragment'])
         self.purpose_xml = boost_site.util.fragment_to_string(values['purpose_fragment'])
- self.description_xml = boost_site.util.fragment_to_string(values['description_fragment'])
 
         self.pub_date = values['pub_date']
         self.last_modified = values['last_modified']
@@ -228,6 +227,22 @@
 
         self.initialise()
 
+ if 'released' not in self.flags and self.documentation:
+ doc_matcher = re.compile('^/(?:libs/|doc/html/)')
+ doc_prefix = self.documentation.rstrip('/')
+
+
+ for child in values['description_fragment'].childNodes:
+ if child.__class__.__name__ == 'Element':
+ for anchor in child.getElementsByTagName('a'):
+ if anchor.hasAttribute('href') and doc_matcher.match(
+ anchor.getAttribute('href')):
+ anchor.setAttribute('href', doc_prefix +
+ anchor.getAttribute('href'))
+
+
+ self.description_xml = boost_site.util.fragment_to_string(values['description_fragment'])
+
     def web_date(self):
         if self.pub_date == 'In Progress':
             return self.pub_date

Modified: website/public_html/beta/users/download/index.html
==============================================================================
--- website/public_html/beta/users/download/index.html (original)
+++ website/public_html/beta/users/download/index.html 2012-01-28 13:59:07 EST (Sat, 28 Jan 2012)
@@ -73,6 +73,8 @@
 
                 <li>
                 <a href="http://sourceforge.net/projects/boost/files/boost/1.49.0.beta.1/">Download</a></li>
+ <li>
+ Documentation</li>
               </ul>
 
               <h2><a name="history" id="history"></a>Old Boost Releases</h2>

Modified: website/public_html/beta/users/history/version_1_49_0.html
==============================================================================
--- website/public_html/beta/users/history/version_1_49_0.html (original)
+++ website/public_html/beta/users/history/version_1_49_0.html 2012-01-28 13:59:07 EST (Sat, 28 Jan 2012)
@@ -42,7 +42,7 @@
 
               <p><span class=
               "news-date">In Progress</span></p>
-
+<p>Documentation
               <p><span class="news-download">Download this beta release.</span></p>
               <div class="news-description">
                 <div class="description">
@@ -54,7 +54,7 @@
     <ul>
       <li>
         <div>
- <span class="library">Container:</span>
+ <span class="library">Container:</span>
           <ul>
             <li>
               <div>
@@ -76,7 +76,7 @@
       </li>
       <li>
         <div>
- <span class="library">Geometry:</span>
+ <span class="library">Geometry:</span>
           <ul>
             <li>
               <div>
@@ -211,7 +211,7 @@
       </li>
       <li>
         <div>
- <span class="library">Graph:</span>
+ <span class="library">Graph:</span>
           <ul>
             <li>
               <div>
@@ -243,7 +243,7 @@
       </li>
       <li>
         <div>
- <span class="library">Icl:</span>
+ <span class="library">Icl:</span>
           <ul>
             <li>
               <div>
@@ -262,7 +262,7 @@
       </li>
       <li>
         <div>
- <span class="library">Interprocess:</span>
+ <span class="library">Interprocess:</span>
           <ul>
             <li>
               <div>
@@ -300,7 +300,7 @@
       </li>
       <li>
         <div>
- <span class="library">Intrusive:</span>
+ <span class="library">Intrusive:</span>
           <ul>
             <li>
               <div>
@@ -314,7 +314,7 @@
       </li>
       <li>
         <div>
- <span class="library">Lexical cast:</span>
+ <span class="library">Lexical cast:</span>
           <ul>
             <li>
               <div>
@@ -335,7 +335,7 @@
       </li>
       <li>
         <div>
- <span class="library">Locale:</span>
+ <span class="library">Locale:</span>
           <ul>
             <li>
               <div>
@@ -348,7 +348,7 @@
       </li>
       <li>
         <div>
- <span class="library">Move:</span>
+ <span class="library">Move:</span>
           <ul>
             <li>
               <div>
@@ -364,7 +364,7 @@
       </li>
       <li>
         <div>
- <span class="library">PropertyTree:</span>
+ <span class="library">PropertyTree:</span>
           <ul>
             <li>
               <div>
@@ -382,7 +382,7 @@
       </li>
       <li>
         <div>
- <span class="library">Spirit:</span>
+ <span class="library">Spirit:</span>
           <ul>
             <li>
               <div>
@@ -395,7 +395,7 @@
       </li>
       <li>
         <div>
- <span class="library">Thread:</span>
+ <span class="library">Thread:</span>
           <ul>
             <li>
               <div>
@@ -570,7 +570,7 @@
       </li>
       <li>
         <div>
- <span class="library">Unordered:</span>
+ <span class="library">Unordered:</span>
           <ul>
             <li>
               <div>
@@ -597,7 +597,7 @@
       </li>
       <li>
         <div>
- <span class="library">Uuid:</span>
+ <span class="library">Uuid:</span>
           <ul>
             <li>
               <div>


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