mirror of
https://github.com/boostorg/docca.git
synced 2026-01-22 17:22:12 +00:00
85 lines
2.2 KiB
Plaintext
85 lines
2.2 KiB
Plaintext
#
|
|
# Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
|
|
#
|
|
# 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)
|
|
#
|
|
# Official repository: https://github.com/cppalliance/json
|
|
#
|
|
|
|
project docca/example_visualized ;
|
|
|
|
import os ;
|
|
import path ;
|
|
import boostbook ;
|
|
import quickbook ;
|
|
import xsltproc ;
|
|
import doxygen ;
|
|
import modules ;
|
|
import saxonhe ;
|
|
|
|
|
|
# We have to make a copy of reference.qbk and put it
|
|
# in a place where the static .qbk files can find it
|
|
#
|
|
install qbk : reference.qbk ;
|
|
|
|
#-------------------------------------------------------------------------------
|
|
#
|
|
# Produce the Boost.Book XML from the QuickBook
|
|
#
|
|
|
|
install images
|
|
:
|
|
[ glob images/*.png ]
|
|
:
|
|
<location>html/json/images
|
|
;
|
|
|
|
explicit images ;
|
|
|
|
xml json_doc
|
|
:
|
|
main.qbk
|
|
:
|
|
<dependency>images
|
|
<dependency>qbk
|
|
;
|
|
|
|
explicit json_doc ;
|
|
|
|
#-------------------------------------------------------------------------------
|
|
#
|
|
# HTML documentation for $(BOOST_ROOT)/doc/html
|
|
#
|
|
#-------------------------------------------------------------------------------
|
|
|
|
boostbook json
|
|
:
|
|
json_doc
|
|
:
|
|
<xsl:param>boost.root=../../../..
|
|
<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.section.depth=2 # 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.section.toc.level=8 # Control depth of TOC generation in sections
|
|
<xsl:param>generate.toc="chapter toc,title section nop reference nop"
|
|
<include>../../../tools/boostbook/dtd
|
|
:
|
|
<dependency>images
|
|
;
|
|
|
|
#-------------------------------------------------------------------------------
|
|
#
|
|
# These are used to inform the build system of the
|
|
# means to build the integrated and stand-alone docs.
|
|
#
|
|
|
|
alias boostdoc ;
|
|
explicit boostdoc ;
|
|
|
|
alias boostrelease : json ;
|
|
explicit boostrelease ;
|