Change doc format from standalone to boostorg

This commit is contained in:
sdarwin 2022-09-09 15:56:06 -06:00 committed by alandefreitas
parent 725fdee699
commit c77e418fb5
No known key found for this signature in database
GPG Key ID: 26D9DDCBAB388383
2 changed files with 23 additions and 32 deletions

View File

@ -13,9 +13,6 @@ import boostbook ;
import os ;
import ../../../tools/docca/docca.jam ;
path-constant broot : ../../../ ;
path-constant out : . ;
docca.reference reference.qbk
:
@ -74,15 +71,6 @@ docca.reference reference.qbk
# Produce the Boost.Book XML from the QuickBook
#
install stylesheets
:
$(broot)/doc/src/boostbook.css
:
<location>$(out)/html
;
explicit stylesheets ;
install images
:
[ glob images/*.png images/*.svg ]
@ -103,16 +91,6 @@ xml url_doc
explicit url_doc ;
install treeimages
:
[ glob $(broot)/doc/src/images/*.png ]
images/doc-logo.png
:
<location>$(out)/html/images
;
explicit treeimages ;
#-------------------------------------------------------------------------------
#
# HTML documentation for $(BOOST_ROOT)/doc/html
@ -124,24 +102,15 @@ boostbook url
url_doc
:
<xsl:param>boost.root=../../../..
<xsl:param>nav.layout=none
<xsl:param>boost.image.src=images/doc-logo.png
<xsl:param>boost.image.alt="Boost.URL Logo"
<xsl:param>boost.image.w=880
<xsl:param>boost.image.h=80
<xsl:param>boost.graphics.root=images/
<xsl:param>html.stylesheet=boostbook.css
<xsl:param>chapter.autolabel=1
<xsl:param>chunk.section.depth=8 # Depth to which sections should be chunked
<xsl:param>chunk.first.sections=1 # Chunk the first top-level section?
<xsl:param>toc.max.depth=8 # How many levels should be created for each TOC?
<xsl:param>toc.section.depth=8 # How deep should recursive sections appear in the TOC?
<xsl:param>toc.max.depth=8 # How many levels should be created for each TOC?
#<xsl:param>generate.toc=""
<xsl:param>generate.toc="chapter toc,title section nop reference nop part toc"
<include>../../../tools/boostbook/dtd
:
<dependency>stylesheets
<dependency>treeimages
<dependency>images
;

22
index.html Normal file
View File

@ -0,0 +1,22 @@
<html>
<head>
<title>Boost.URL</title>
<meta http-equiv="refresh" content="0; URL=./doc/html/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="./doc/html/index.html">./doc/html/index.html</a>
<hr>
<tt>
Boost.URL<br>
<br>
Copyright&nbsp;(C)&nbsp;2022&nbsp;Vinnie&nbsp;Falco<br>
Copyright&nbsp;(C)&nbsp;2022&nbsp;Alan&nbsp;de&nbsp;Freitas<br>
<br>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
<a href=http://www.boost.org/LICENSE_1_0.txt>http://www.boost.org/LICENSE_1_0.txt</a>) <br>
<br>
</tt>
</body>
</html>