|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48764 - in website/public_html/live: common common/code doc style style/css_0 style/css_0/theme_grass
From: grafikrobot_at_[hidden]
Date: 2008-09-13 03:03:16
Author: grafik
Date: 2008-09-13 03:03:16 EDT (Sat, 13 Sep 2008)
New Revision: 48764
URL: http://svn.boost.org/trac/boost/changeset/48764
Log:
Remove web styling from doc pages as some people are unhappy with the restyling of their docs. (merge from beta)
Added:
website/public_html/live/common/heading-doc.html
- copied unchanged from r48763, /website/public_html/beta/common/heading-doc.html
website/public_html/live/style/css_0/section-basic.css
- copied unchanged from r48763, /website/public_html/beta/style/css_0/section-basic.css
website/public_html/live/style/section-basic.css
- copied unchanged from r48763, /website/public_html/beta/style/section-basic.css
Text files modified:
website/public_html/live/common/code/boost_archive.php | 24 ++++++++++++++++++++++++
website/public_html/live/doc/display_libs.php | 23 +++++++++++------------
website/public_html/live/style/css_0/theme_grass/links.css | 12 ++++++------
website/public_html/live/style/css_0/theme_grass/theme.css | 6 ++++--
4 files changed, 45 insertions(+), 20 deletions(-)
Modified: website/public_html/live/common/code/boost_archive.php
==============================================================================
--- website/public_html/live/common/code/boost_archive.php (original)
+++ website/public_html/live/common/code/boost_archive.php 2008-09-13 03:03:16 EDT (Sat, 13 Sep 2008)
@@ -110,6 +110,11 @@
}
}
+ function is_basic()
+ {
+ return $this->extractor_ == 'basic';
+ }
+
function is_raw()
{
return $this->extractor_ == 'raw' || $this->extractor_ == 'simple';
@@ -495,6 +500,25 @@
print $this->_content_html_pre();
}
+ function _init_basic()
+ {
+ }
+
+ function _content_basic()
+ {
+ $text = $this->_content_html_pre();
+ $text = preg_split('@(</head>)|(<body[^>]*>)@i',$text,-1,PREG_SPLIT_DELIM_CAPTURE);
+ print $text[0];
+ print '<link rel="icon" href="/favicon.ico" type="image/ico" />';
+ print '<link rel="stylesheet" type="text/css" href="/style/section-basic.css" />';
+ print $text[1];
+ print $text[2];
+ print $text[3];
+ print $text[4];
+ virtual("/common/heading-doc.html");
+ print $text[5];
+ }
+
function _init_404()
{
header("HTTP/1.0 404 Not Found");
Modified: website/public_html/live/doc/display_libs.php
==============================================================================
--- website/public_html/live/doc/display_libs.php (original)
+++ website/public_html/live/doc/display_libs.php 2008-09-13 03:03:16 EDT (Sat, 13 Sep 2008)
@@ -39,9 +39,6 @@
array('@.*@','@^libs/type_traits/cxx_type_traits.htm$@i','raw','text/html'),
array('@.*@','@^libs/utility/iterator_adaptors.htm$@i','raw','text/html'),
array('@.*@','@^libs/wave/.*(html|htm)$@i','raw','text/html'),
- array('@.*@','@^more/getting_started.html$@i','raw','text/html'),
- array('@.*@','@^more/lib_guide.htm$@i','raw','text/html'),
- array('@.*@','@^more/regression.html$@i','raw','text/html'),
array('@.*@','@^status/index.html$@i','raw','text/html'),
array('@.*@','@^tools/boostbook/index.html$@i','raw','text/html'),
array('@.*@','@^tools/build/index.html$@i','raw','text/html'),
@@ -56,20 +53,22 @@
array('@.*@','@^libs/system/doc/.*(html|htm)$@i','simple','text/html'),
array('@.*@','@^libs/numeric/conversion/doc/.*(html|htm)$@i','simple','text/html'),
array('@.*@','@^libs/optional/doc/.*(html|htm)$@i','simple','text/html'),
- //~ special cases that look like boost book, but aren't
- array('@.*@','@^libs/parameter/doc/html/.*(html|htm)$@i','boost_libs_html','text/html'),
//~ default to processed output for libs and tools
- array('@.*@','@^libs/[^/]+/doc/html/.*(html|htm)$@i','boost_book_html','text/html'),
- array('@.*@','@^libs/[^/]+/doc/[^/]+/html/.*(html|htm)$@i','boost_book_html','text/html'),
- array('@.*@','@^libs/[^/]+/doc/[^/]+/doc/html/.*(html|htm)$@i','boost_book_html','text/html'),
- array('@.*@','@^libs.*(html|htm)$@i','boost_libs_html','text/html'),
- array('@.*@','@^tools.*(html|htm)$@i','boost_libs_html','text/html'),
- array('@.*@','@^doc/html/.*html$@i','boost_book_html','text/html'),
+ array('@.*@','@^libs/[^/]+/doc/html/.*(html|htm)$@i','basic','text/html'),
+ array('@.*@','@^libs/[^/]+/doc/[^/]+/html/.*(html|htm)$@i','basic','text/html'),
+ array('@.*@','@^libs/[^/]+/doc/[^/]+/doc/html/.*(html|htm)$@i','basic','text/html'),
+ array('@.*@','@^libs.*(html|htm)$@i','basic','text/html'),
+ array('@.*@','@^tools.*(html|htm)$@i','basic','text/html'),
+ array('@.*@','@^doc/html/.*html$@i','basic','text/html'),
+ array('@.*@','@^more/.*html$@i','basic','text/html'),
//~ the headers are text files displayed in an embeded page
array('@.*@','@^boost/.*$@i','cpp','text/plain')
));
-if (!$_file->is_raw()) {
+if ($_file->is_basic()) {
+ print $_file->content();
+}
+else if (!$_file->is_raw()) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: website/public_html/live/style/css_0/theme_grass/links.css
==============================================================================
--- website/public_html/live/style/css_0/theme_grass/links.css (original)
+++ website/public_html/live/style/css_0/theme_grass/links.css 2008-09-13 03:03:16 EDT (Sat, 13 Sep 2008)
@@ -6,8 +6,8 @@
/* All about link/anchors ("A") elements. It's all here in one file
to facilitate trying out multiple variants. And to help
keep them consistent across all contexts. */
-a.internal,
-a.external {
+#content a.internal,
+#content a.external {
text-decoration: none;
color: #000000;
}
@@ -107,18 +107,18 @@
}
/* The special "Get Boost" button. */
-#get-boost a {
+#body #get-boost a {
color: #2070A0;
}
-#get-boost a span.link {
+#body #get-boost a span.link {
color: #EEEEEE;
display: none;
}
-#get-boost a:hover {
+#body #get-boost a:hover {
color: #6B9D68;
background-color: #EEEEEE;
}
-#get-boost a:hover span.link {
+#body #get-boost a:hover span.link {
color: #6B9D68;
}
Modified: website/public_html/live/style/css_0/theme_grass/theme.css
==============================================================================
--- website/public_html/live/style/css_0/theme_grass/theme.css (original)
+++ website/public_html/live/style/css_0/theme_grass/theme.css 2008-09-13 03:03:16 EDT (Sat, 13 Sep 2008)
@@ -13,10 +13,12 @@
}
/* Heading, title and logo. */
-#heading * {
+#heading *,
+#boost-common-heading-doc * {
color: #FFFFFF;
}
-#heading {
+#heading,
+#boost-common-heading-doc {
background: url(header-fg.png) no-repeat top left;
border: none;
border-bottom: #000000 solid 1px;
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