|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2008-03-29 16:40:37
Author: grafik
Date: 2008-03-29 16:40:37 EDT (Sat, 29 Mar 2008)
New Revision: 43942
URL: http://svn.boost.org/trac/boost/changeset/43942
Log:
Add the missing translations for new redirect files. Fix the invisible BoostPP docs. Minor code cleanup to make it easier to update. Spirit and Wave docs should be show as-is. (merge from beta)
Text files modified:
website/public_html/live/doc/display_libs.php | 118 ++++++++++++++-------------------------
1 files changed, 42 insertions(+), 76 deletions(-)
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-03-29 16:40:37 EDT (Sat, 29 Mar 2008)
@@ -3,84 +3,50 @@
$_file = new boost_archive('@^[/]([^/]+)[/](.*)$@',$_SERVER["PATH_INFO"],array(
//~ array(version-regex,path-regex,raw|simple|text|cpp|boost_book_html|boost_libs_html,mime-type),
- //~ special cases that can't be processed at all (mostly redirects)
- array('@1_(34|35)_[0-9]@','@^libs/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/algorithm/string/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/any/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/array/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/assign/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/bind/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/bind/ref.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/concept_check/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/config/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/date_time/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/date_time/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/disjoint_sets/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/dynamic_bitset/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/filesystem/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/foreach/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/function/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/functional/hash/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/graph/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/gil/doc/.*(html|htm)$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/io/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/iostreams/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/iterator/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/lambda/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/lambda/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/math/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/math/doc/common_factor.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/math/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/mem_fn/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/mpl/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/multi_array/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/multi_index/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/numeric/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/numeric/conversion/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/numeric/interval/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/numeric/ublas/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/optional/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/parameter/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/pool/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/preprocessor/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/program_options/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/program_options/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/property_map/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/ptr_container/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/python/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/python/doc/PyConDC_2003/bpl.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/python/doc/tutorial/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/python/doc/v2/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/regex/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/serialization/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/signals/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/signals/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/smart_ptr/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/statechart/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/static_assert/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/static_assert/static_assert.htm$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/test/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/thread/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/thread/doc/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/tr1/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/tuple/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/typeof/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/type_traits/cxx_type_traits.htm$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/type_traits/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/utility/iterator_adaptors.htm$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/variant/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^libs/xpressive/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^more/getting_started.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^more/lib_guide.htm$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^more/regression.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^status/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^tools/build/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^tools/jam/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^tools/quickbook/index.html$@i','raw','text/html'),
- array('@1_(34|35)_[0-9]@','@^wiki/index.html$@i','raw','text/html'),
+ //~ this handles most of the simple cases of index.htm(l) redirect files
+ array(
+ '@1_('.implode('|',array(
+ '34','35',
+ )).')_[0-9]@',
+ '@^libs/('.implode('|',array(
+ 'algorithm/string','any','array','asio','assign','bind','bimap',
+ 'circular_buffer',
+ 'concept_check','config','date_time','date_time/doc','disjoint_sets',
+ 'dynamic_bitset','filesystem','foreach','function','functional/hash',
+ 'function_types','fusion','graph','interprocess','intrusive',
+ 'io','iostreams','iterator','lambda',
+ 'lambda/doc','math','math/doc','mem_fn','mpl',
+ 'multi_array','multi_index','numeric','numeric/conversion','numeric/interval/doc',
+ 'numeric/ublas','unmeric/ublas/doc','optional','parameter','pool','preprocessor',
+ 'program_options','program_options/doc','property_map','ptr_container','python',
+ 'python/doc/tutorial','python/doc/v2','regex','serialization','signals',
+ 'signals/doc','smart_ptr','statechart','static_assert','system','test',
+ 'thread','thread/doc','tr1','tuple','typeof',
+ 'type_traits','variant','xpressive'
+ )).')/index.(html|htm)$@i',
+ 'raw','text/html'),
+ //~ special cases that can't be processed at all (some redirects)
+ array('@.*@','@^libs/index.html$@i','raw','text/html'),
+ array('@.*@','@^libs/bind/ref.html$@i','raw','text/html'),
+ array('@.*@','@^libs/gil/doc/.*(html|htm)$@i','raw','text/html'),
+ array('@.*@','@^libs/math/doc/common_factor.html$@i','raw','text/html'),
+ array('@.*@','@^libs/preprocessor/doc/.*(html|htm)$@i','raw','text/html'),
+ array('@.*@','@^libs/python/doc/PyConDC_2003/bpl.html$@i','raw','text/html'),
+ array('@.*@','@^libs/spirit/.*(html|htm)$@i','raw','text/html'),
+ array('@.*@','@^libs/static_assert/static_assert.htm$@i','raw','text/html'),
+ 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/build/index.html$@i','raw','text/html'),
+ array('@.*@','@^tools/jam/index.html$@i','raw','text/html'),
+ array('@.*@','@^tools/quickbook/index.html$@i','raw','text/html'),
+ array('@.*@','@^wiki/index.html$@i','raw','text/html'),
//~ special cases that can't be embeded in the standard frame
array('@.*@','@^libs/iostreams/doc/.*(html|htm)$@i','simple','text/html'),
- array('@.*@','@^libs/preprocessor/doc/\.*(html|htm)$@i','simple','text/html'),
array('@.*@','@^libs/serialization/doc/.*(html|htm)$@i','simple','text/html'),
array('@.*@','@^libs/filesystem/doc/.*(html|htm)$@i','simple','text/html'),
array('@.*@','@^libs/numeric/conversion/doc/.*(html|htm)$@i','simple','text/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