mirror of
https://github.com/boostorg/website.git
synced 2026-02-24 16:32:16 +00:00
Improving boost docs project repository
[SVN r7144]
This commit is contained in:
76
doc/javascript/nested_links/example/boostbook_integration/example.qbk
Executable file
76
doc/javascript/nested_links/example/boostbook_integration/example.qbk
Executable file
@@ -0,0 +1,76 @@
|
||||
[library Boost.GroupedLinks example
|
||||
[quickbook 1.4]
|
||||
[authors [Capeletto, Matias]]
|
||||
[copyright 2007 Matias Capeletto]
|
||||
[category example]
|
||||
[id boostbook_integration]
|
||||
[dirname boostbook_integration]
|
||||
[purpose
|
||||
Boost.GroupedLinks Boostbook Integration example
|
||||
]
|
||||
[source-mode c++]
|
||||
[license
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
[@http://www.boost.org/LICENSE_1_0.txt])
|
||||
]
|
||||
]
|
||||
|
||||
[/ QuickBook Document version 1.4 ]
|
||||
|
||||
|
||||
[section Preface]
|
||||
Preface section
|
||||
[endsect]
|
||||
|
||||
[section First]
|
||||
First section
|
||||
|
||||
[section Sub A]
|
||||
First section - subsection A
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Sub B]
|
||||
First section - subsection B
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Sub C]
|
||||
First section - subsection C
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Second]
|
||||
Second section
|
||||
|
||||
[section Sub A]
|
||||
Second section - subsection A
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Sub B]
|
||||
Second section - subsection B
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Final]
|
||||
Final section
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
31
doc/javascript/nested_links/example/boostbook_integration/jamfile.v2
Executable file
31
doc/javascript/nested_links/example/boostbook_integration/jamfile.v2
Executable file
@@ -0,0 +1,31 @@
|
||||
# Boost.GroupedLinks
|
||||
#
|
||||
# Copyright (c) 2007 Matias Capeletto
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
# Quickbook
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
import quickbook ;
|
||||
|
||||
xml example
|
||||
:
|
||||
example.qbk
|
||||
;
|
||||
|
||||
boostbook standalone
|
||||
:
|
||||
example
|
||||
:
|
||||
# Show the sections select box, the chapters select box is showed by default
|
||||
<xsl:param>grouped.links.sections.show="'true'"
|
||||
|
||||
<xsl:param>toc.max.depth=2
|
||||
<xsl:param>toc.section.depth=4
|
||||
<xsl:param>chunk.section.depth=3
|
||||
;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
index.html
|
||||
boostbook_integration/first.html
|
||||
boostbook_integration/first/sub_b.html
|
||||
boostbook_integration/first/sub_c.html
|
||||
boostbook_integration/second.html
|
||||
boostbook_integration/second/sub_b.html
|
||||
boostbook_integration/final.html
|
||||
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Final</title>
|
||||
<link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="up" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="prev" href="second/sub_b.html" title="Sub B" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'.././');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="second/sub_b.html">
|
||||
<img src="../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../index.html">
|
||||
<img src="../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../index.html">
|
||||
<img src="../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h2 class="title" style="clear: both">
|
||||
<a id="boostbook_integration.final"></a>
|
||||
<a href="final.html" title="Final">Final</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Final section
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="second/sub_b.html">
|
||||
<img src="../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../index.html">
|
||||
<img src="../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../index.html">
|
||||
<img src="../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="copyright">
|
||||
<p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,167 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>First</title>
|
||||
<link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="up" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="prev" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="next" href="first/sub_b.html" title="Sub B" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'.././');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../index.html">
|
||||
<img src="../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../index.html">
|
||||
<img src="../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../index.html">
|
||||
<img src="../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="first/sub_b.html">
|
||||
<img src="../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h2 class="title" style="clear: both">
|
||||
<a id="boostbook_integration.first"></a>
|
||||
<a href="first.html" title="First">First</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div xmlns="" class="toc">
|
||||
<div class="box-outer-wrapper">
|
||||
<div class="box-top-left"></div>
|
||||
<div class="box-top-right"></div>
|
||||
<div class="box-top"></div>
|
||||
<div class="box-inner-wrapper">
|
||||
<dl xmlns="http://www.w3.org/1999/xhtml">
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="first.html#boostbook_integration.first.sub_a">Sub A</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="first/sub_b.html">Sub B</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="first/sub_c.html">Sub C</a>
|
||||
</span>
|
||||
</dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="box-bottom-left"></div>
|
||||
<div class="box-bottom-right"></div>
|
||||
<div class="box-bottom"></div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
First section
|
||||
</p>
|
||||
<div class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h3 class="title">
|
||||
<a id="boostbook_integration.first.sub_a"></a>
|
||||
<a href="first.html#boostbook_integration.first.sub_a" title="Sub A">Sub A</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
First section - subsection A
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../index.html">
|
||||
<img src="../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../index.html">
|
||||
<img src="../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../index.html">
|
||||
<img src="../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="first/sub_b.html">
|
||||
<img src="../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="copyright">
|
||||
<p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Sub B</title>
|
||||
<link xmlns="" rel="stylesheet" href="../../boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="../../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="up" href="../first.html" title="First" />
|
||||
<link rel="prev" href="../first.html" title="First" />
|
||||
<link rel="next" href="sub_c.html" title="Sub C" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../../grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../../boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../../sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'../.././');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../first.html">
|
||||
<img src="../../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../first.html">
|
||||
<img src="../../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../../index.html">
|
||||
<img src="../../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="sub_c.html">
|
||||
<img src="../../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h3 class="title">
|
||||
<a id="boostbook_integration.first.sub_b"></a>
|
||||
<a href="sub_b.html" title="Sub B">Sub B</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
First section - subsection B
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../first.html">
|
||||
<img src="../../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../first.html">
|
||||
<img src="../../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../../index.html">
|
||||
<img src="../../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="sub_c.html">
|
||||
<img src="../../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="copyright">
|
||||
<p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Sub C</title>
|
||||
<link xmlns="" rel="stylesheet" href="../../boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="../../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="up" href="../first.html" title="First" />
|
||||
<link rel="prev" href="sub_b.html" title="Sub B" />
|
||||
<link rel="next" href="../second.html" title="Second" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../../grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../../boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../../sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'../.././');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="sub_b.html">
|
||||
<img src="../../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../first.html">
|
||||
<img src="../../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../../index.html">
|
||||
<img src="../../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="../second.html">
|
||||
<img src="../../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h3 class="title">
|
||||
<a id="boostbook_integration.first.sub_c"></a>
|
||||
<a href="sub_c.html" title="Sub C">Sub C</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
First section - subsection C
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="sub_b.html">
|
||||
<img src="../../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../first.html">
|
||||
<img src="../../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../../index.html">
|
||||
<img src="../../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="../second.html">
|
||||
<img src="../../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="copyright">
|
||||
<p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Second</title>
|
||||
<link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="up" href="../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="prev" href="first/sub_c.html" title="Sub C" />
|
||||
<link rel="next" href="second/sub_b.html" title="Sub B" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'.././');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="first/sub_c.html">
|
||||
<img src="../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../index.html">
|
||||
<img src="../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../index.html">
|
||||
<img src="../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="second/sub_b.html">
|
||||
<img src="../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h2 class="title" style="clear: both">
|
||||
<a id="boostbook_integration.second"></a>
|
||||
<a href="second.html" title="Second">Second</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div xmlns="" class="toc">
|
||||
<div class="box-outer-wrapper">
|
||||
<div class="box-top-left"></div>
|
||||
<div class="box-top-right"></div>
|
||||
<div class="box-top"></div>
|
||||
<div class="box-inner-wrapper">
|
||||
<dl xmlns="http://www.w3.org/1999/xhtml">
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="second.html#boostbook_integration.second.sub_a">Sub A</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="second/sub_b.html">Sub B</a>
|
||||
</span>
|
||||
</dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="box-bottom-left"></div>
|
||||
<div class="box-bottom-right"></div>
|
||||
<div class="box-bottom"></div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Second section
|
||||
</p>
|
||||
<div class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h3 class="title">
|
||||
<a id="boostbook_integration.second.sub_a"></a>
|
||||
<a href="second.html#boostbook_integration.second.sub_a" title="Sub A">Sub A</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Second section - subsection A
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="first/sub_c.html">
|
||||
<img src="../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../index.html">
|
||||
<img src="../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../index.html">
|
||||
<img src="../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="second/sub_b.html">
|
||||
<img src="../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="copyright">
|
||||
<p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Sub B</title>
|
||||
<link xmlns="" rel="stylesheet" href="../../boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="../../index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="up" href="../second.html" title="Second" />
|
||||
<link rel="prev" href="../second.html" title="Second" />
|
||||
<link rel="next" href="../final.html" title="Final" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../../grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../../boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'../../sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'../.././');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../second.html">
|
||||
<img src="../../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../second.html">
|
||||
<img src="../../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../../index.html">
|
||||
<img src="../../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="../final.html">
|
||||
<img src="../../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h3 class="title">
|
||||
<a id="boostbook_integration.second.sub_b"></a>
|
||||
<a href="sub_b.html" title="Sub B">Sub B</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Second section - subsection B
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../second.html">
|
||||
<img src="../../../../doc/html/images/prev.png" alt="Prev" />
|
||||
</a>
|
||||
<a accesskey="u" href="../second.html">
|
||||
<img src="../../../../doc/html/images/up.png" alt="Up" />
|
||||
</a>
|
||||
<a accesskey="h" href="../../index.html">
|
||||
<img src="../../../../doc/html/images/home.png" alt="Home" />
|
||||
</a>
|
||||
<a accesskey="n" href="../final.html">
|
||||
<img src="../../../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="copyright">
|
||||
<p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,63 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <boost/property_tree/xml_parser.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <boost/none.hpp>
|
||||
|
||||
using namespace boost::property_tree;
|
||||
using namespace boost;
|
||||
using namespace std;
|
||||
|
||||
|
||||
optional<ptree&> find_toc( ptree& html )
|
||||
{
|
||||
ptree& pbody = html.get_child("html.body");
|
||||
for( ptree::iterator i = pbody.begin(), ie = pbody.end();
|
||||
i != ie ; ++i )
|
||||
{
|
||||
std::cout << i->second.get<string>("<xmlattr>","") << std::endl;
|
||||
if( i->second.get<string>("<xmlattr>","") == "body" )
|
||||
{
|
||||
ptree& pc = i->second.get_child("div.div.div");
|
||||
for( ptree::iterator ic = pc.begin(), iec = pc.end();
|
||||
ic != iec ; ++ic )
|
||||
{
|
||||
if( i->second.get<string>("<xmlattr>","") == "toc" )
|
||||
{
|
||||
return i->second.get_child("dl");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return none;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
ptree html;
|
||||
|
||||
std::string in_name = "index.html";
|
||||
/*
|
||||
ifstream inhtml( in_name.c_str(), ios_base::in );
|
||||
if( !inhtml )
|
||||
{
|
||||
std::cout << std::endl << "dow!" << std::endl;
|
||||
}
|
||||
*/
|
||||
read_xml(in_name,html);
|
||||
|
||||
optional<ptree&> toc = find_toc(html);
|
||||
if( toc )
|
||||
{
|
||||
std::cout << std::endl << "great!" << std::endl;
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,198 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Chapter 1. Boost.GroupedLinks example</title>
|
||||
<link xmlns="" rel="stylesheet" href="boostbook.css" type="text/css" />
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0" />
|
||||
<link rel="start" href="index.html" title="Chapter 1. Boost.GroupedLinks example" />
|
||||
<link rel="next" href="boostbook_integration/first.html" title="First" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="grouped_links.js"></script>
|
||||
<div id="heading">
|
||||
<div id="heading-placard"></div>
|
||||
<div class="heading_navigation_box">
|
||||
<div class="grouped_links" id="chapters_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'boost_libs_grouped_links.xml',
|
||||
'chapters_select_box',
|
||||
'http://www.boost.org/libs/');
|
||||
</script>
|
||||
</div>
|
||||
<div class="grouped_links" id="sections_select_box">
|
||||
<script type="text/javascript">
|
||||
grouped_links_select_box(
|
||||
'sections_grouped_links.xml',
|
||||
'sections_select_box',
|
||||
'./');
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="heading_search_box">
|
||||
<form id="cref" action="http://google.com/cse">
|
||||
<input type="hidden" name="cref" value="" />
|
||||
<div> Search Boost </div>
|
||||
<div>
|
||||
<input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="n" href="boostbook_integration/first.html">
|
||||
<img src="../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div id="body-inner">
|
||||
<div id="content">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="chapter" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h2 class="title"><a id="boostbook_integration"></a>Chapter 1. Boost.GroupedLinks example</h2>
|
||||
</div>
|
||||
<div>
|
||||
<div class="author">
|
||||
<h3 class="author"><span class="firstname">Matias</span> <span class="surname">Capeletto</span></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p class="copyright">Copyright © 2007 Matias Capeletto</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="legalnotice">
|
||||
<a id="id2597309"></a>
|
||||
<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a xmlns="" href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div xmlns="" class="toc">
|
||||
<div class="box-outer-wrapper">
|
||||
<div class="box-top-left"></div>
|
||||
<div class="box-top-right"></div>
|
||||
<div class="box-top"></div>
|
||||
<div class="box-inner-wrapper">
|
||||
<p>
|
||||
<b>Table of Contents</b>
|
||||
</p>
|
||||
<dl xmlns="http://www.w3.org/1999/xhtml">
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="index.html#boostbook_integration.preface">Preface</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/first.html">First</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/first.html#boostbook_integration.first.sub_a">Sub A</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/first/sub_b.html">Sub B</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/first/sub_c.html">Sub C</a>
|
||||
</span>
|
||||
</dt>
|
||||
</dl>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/second.html">Second</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/second.html#boostbook_integration.second.sub_a">Sub A</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/second/sub_b.html">Sub B</a>
|
||||
</span>
|
||||
</dt>
|
||||
</dl>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="section">
|
||||
<a href="boostbook_integration/final.html">Final</a>
|
||||
</span>
|
||||
</dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="box-bottom-left"></div>
|
||||
<div class="box-bottom-right"></div>
|
||||
<div class="box-bottom"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" lang="en" xml:lang="en">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div>
|
||||
<h2 class="title" style="clear: both">
|
||||
<a id="boostbook_integration.preface"></a>
|
||||
<a href="index.html#boostbook_integration.preface" title="Preface">Preface</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Preface section
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="n" href="boostbook_integration/first.html">
|
||||
<img src="../../doc/html/images/next.png" alt="Next" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-left">
|
||||
<div id="revised">Revised: June 15, 2007 at 15:06:18 GMT</div>
|
||||
<div id="copyright"></div>
|
||||
<div id="license">
|
||||
<p>Distributed under the
|
||||
<a href="/LICENSE_1_0.txt" class="internal">Boost Software License, Version 1.0</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<div id="banners">
|
||||
<p id="banner-xhtml">
|
||||
<a href="http://validator.w3.org/check?uri=referer" class="external">XHTML 1.0</a>
|
||||
</p>
|
||||
<p id="banner-css">
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" class="external">CSS</a>
|
||||
</p>
|
||||
<p id="banner-sourceforge">
|
||||
<a href="http://sourceforge.net" class="external">SourceForge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!--=========================================================================
|
||||
|
||||
Grouped links for Boost.GroupedLinks boostbook integration example
|
||||
|
||||
Copyright (c) 2007 Matias Capeletto
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
===========================================================================-->
|
||||
|
||||
|
||||
<groupedLinks version="1.0">
|
||||
|
||||
<title tag="Sections" url="index.html"/>
|
||||
|
||||
<group tag="Preface" url="index.html"/>
|
||||
|
||||
<group tag="First" url="boostbook_integration/first.html">
|
||||
<item tag="Sub A" url="boostbook_integration/first.html"/>
|
||||
<item tag="Sub B" url="boostbook_integration/first/sub_b.html"/>
|
||||
<item tag="Sub C" url="boostbook_integration/first/sub_c.html"/>
|
||||
</group>
|
||||
|
||||
<group tag="Second" url="boostbook_integration/second.html">
|
||||
<item tag="Sub A" url="boostbook_integration/second.html"/>
|
||||
<item tag="Sub B" url="boostbook_integration/second/sub_b.html"/>
|
||||
</group>
|
||||
|
||||
<group tag="Final" url="boostbook_integration/final.html"/>
|
||||
|
||||
</groupedLinks>
|
||||
166
doc/javascript/nested_links/example/simple/boost_libs.xml
Normal file
166
doc/javascript/nested_links/example/simple/boost_libs.xml
Normal file
@@ -0,0 +1,166 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!--=========================================================================
|
||||
|
||||
Grouped links for Boost Libraries documentation
|
||||
|
||||
Copyright (c) 2007 Matias Capeletto
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
===========================================================================-->
|
||||
|
||||
|
||||
<groupedLinks version="1.0">
|
||||
|
||||
<title tag="Boost Libraries" url="index.html" />
|
||||
|
||||
<group tag="Text processing" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="lexical_cast" url="conversion/lexical_cast.htm" />
|
||||
<item tag="format" url="format/index.html" />
|
||||
<item tag="iostreams" url="iostreams/doc/index.html" />
|
||||
<item tag="regex" url="regex/index.html" />
|
||||
<item tag="spirit" url="spirit/index.html" />
|
||||
<item tag="string_algo" url="algorithm/string/index.html" />
|
||||
<item tag="tokenizer" url="tokenizer/index.html" />
|
||||
<item tag="wave" url="wave/index.html" />
|
||||
<item tag="xpressive" url="xpressive/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Data structures" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="any" url="any/index.html" />
|
||||
<item tag="array" url="array/index.html" />
|
||||
<item tag="bimap" url="http://tinyurl.com/22sja5" />
|
||||
<item tag="compressed_pair" url="utility/compressed_pair.htm" />
|
||||
<item tag="dynamic_bitset" url="dynamic_bitset/dynamic_bitset.html" />
|
||||
<item tag="graph" url="graph/doc/table_of_contents.html" />
|
||||
<item tag="multi_array" url="multi_array/doc/index.html" />
|
||||
<item tag="multi_index" url="multi_index/doc/index.html" />
|
||||
<item tag="optional" url="libs/optional/doc/optional.html" />
|
||||
<item tag="ptr_container" url="ptr_container/index.html" />
|
||||
<item tag="property_map" url="property_map/property_map.html" />
|
||||
<item tag="tribool" url="doc/html/tribool.html" />
|
||||
<item tag="tuple" url="tuple/doc/tuple_users_guide.html" />
|
||||
<item tag="variant" url="variant/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Algorithms" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="foreach" url="foreach/index.html" />
|
||||
<item tag="minmax" url="algorithm/minmax/index.html" />
|
||||
<item tag="range" url="range/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Functional" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="bind" url="bind/bind.html" />
|
||||
<item tag="function" url="function/index.html" />
|
||||
<item tag="functional" url="functional/index.htm" />
|
||||
<item tag="hash" url="functional/hash/index.html" />
|
||||
<item tag="lambda" url="lambda/index.html" />
|
||||
<item tag="bind" url="bind/ref.html" />
|
||||
<item tag="signals" url="signals/index.html" />
|
||||
<item tag="result_of" url="utility/utility.htm#result_of" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Generic Programming" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="call_traits" url="utility/call_traits.htm" />
|
||||
<item tag="concept_check" url="concept_check/concept_check.htm" />
|
||||
<item tag="enable_if" url="utility/enable_if.html" />
|
||||
<item tag="in_place_factory" url="utility/in_place_factories.html" />
|
||||
<item tag="iterators" url="iterator/doc/index.html" />
|
||||
<item tag="operators" url="utility/operators.htm" />
|
||||
<item tag="typeof" url="typeof/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Metaprogramming" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="mpl" url="mpl/doc/index.html" />
|
||||
<item tag="static_assert" url="static_assert/static_assert.htm" />
|
||||
<item tag="type_traits" url="type_traits/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Concurrent" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="thread" url="thread/doc/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Math and numerics" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="math" url="math/doc/index.html" />
|
||||
<item tag="conversion" url="numeric/conversion/index.html" />
|
||||
<item tag="integer" url="integer/index.html" />
|
||||
<item tag="interval" url="numeric/interval/doc/interval.htm" />
|
||||
<item tag="random" url="random/index.html" />
|
||||
<item tag="rational" url="rational/index.html" />
|
||||
<item tag="ublas" url="numeric/ublas/doc/index.htm" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Input Output" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="io state savers" url="io/doc/ios_state.html" />
|
||||
<item tag="program_options" url="../doc/html/program_options.html" />
|
||||
<item tag="serialization" url="serialization/doc/index.html" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Memory" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="pool" url="pool/doc/index.html" />
|
||||
<item tag="smart_ptr" url="smart_ptr/index.html" />
|
||||
<item tag="utility" url="utility/utility.htm" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Miscellaneous" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="assign" url="assign/index.html" />
|
||||
<item tag="base from member" url="utility/base_from_member.html" />
|
||||
<item tag="crc" url="crc/index.html" />
|
||||
<item tag="date_time" url="date_time/doc/index.html" />
|
||||
<item tag="filesystem" url="filesystem/doc/index.htm" />
|
||||
<item tag="parameter" url="parameter/doc/html/index.html" />
|
||||
<item tag="preprocesor" url="preprocessor/doc/index.html" />
|
||||
<item tag="python" url="python/doc/index.html" />
|
||||
<item tag="timer" url="timer/index.html" />
|
||||
<item tag="tr1" url="tr1/index.html" />
|
||||
<item tag="statechart" url="statechart/doc/index.html" />
|
||||
<item tag="value_initialized" url="utility/value_init.htm" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<group tag="Compiler workarounds" url="index.html" >
|
||||
<!--=======================================================================-->
|
||||
<item tag="compatibility" url="compatibility/index.html" />
|
||||
<item tag="config" url="config/config.htm" />
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
|
||||
</groupedLinks>
|
||||
|
||||
46
doc/javascript/nested_links/example/simple/simple.html
Normal file
46
doc/javascript/nested_links/example/simple/simple.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!--===========================================================================
|
||||
Copyright (c) 2007 Matias Capeletto
|
||||
|
||||
Use, modification and distribution is subject to the Boost Software
|
||||
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
============================================================================-->
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Boost.GroupedLinks Example</title>
|
||||
<link rel="stylesheet" href="../../css/grouped_links.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Include the grouped links java script api -->
|
||||
|
||||
<script type="text/javascript" src="../../../grouped_links.js"></script>
|
||||
|
||||
<!-- Add a div with an unique "id" attribute -->
|
||||
|
||||
<form id="boost_libs_list">
|
||||
|
||||
<!-- Call the GroupedLinks "select box" with the following parameters
|
||||
(1) GroupedLinks xml definition url
|
||||
(2) form id
|
||||
(3) base url for the links
|
||||
(4) selected item [optional] -->
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
grouped_links_select_box('boost_libs.xml',
|
||||
'boost_libs_list',
|
||||
'http://www.boost.org/libs/');
|
||||
|
||||
</script>
|
||||
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user