• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright Antony Polukhin 2016-2019.
2# Use, modification, and distribution are
3# subject to the Boost Software License, Version 1.0. (See accompanying
4# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6using quickbook ;
7using boostbook ;
8using doxygen ;
9using xsltproc ;
10
11import set ;
12import doxygen ;
13import xsltproc ;
14import notfile ;
15import path ;
16
17project pfr/doc ;
18
19#
20# Common params for doxygen
21#
22
23local doxygen_params =
24        <doxygen:param>EXTRACT_ALL=NO
25        <doxygen:param>HIDE_UNDOC_MEMBERS=YES
26        <doxygen:param>EXTRACT_PRIVATE=NO
27        <doxygen:param>ENABLE_PREPROCESSING=YES
28        <doxygen:param>EXPAND_ONLY_PREDEF=YES
29        <doxygen:param>MACRO_EXPANSION=YES
30        <doxygen:param>INLINE_SIMPLE_STRUCTS=YES
31        <doxygen:param>SORT_MEMBER_DOCS=NO
32        <doxygen:param>"ALIASES= \\
33            \"forcedlink{1}=\\xmlonly<link linkend='boost.pfr.\\1'>\\endxmlonly boost::pfr::\\1\\xmlonly</link>\\endxmlonly\" \\
34            \"podops=\\b See \\b Also : \\xmlonly<link linkend='boost_pfr.tutorial.three_ways_of_getting_operators'>\\endxmlonly 'Three ways of getting operators' \\xmlonly</link>\\endxmlonly\" \\
35            \"customio=\\b See \\b Also : \\xmlonly<link linkend='boost_pfr.tutorial.custom_printing_of_aggregates'>\\endxmlonly 'Custom printing of aggregates' \\xmlonly</link>\\endxmlonly for info on how to implement your own manipulator with custom format.\" \\
36            \"aggregate=\\xmlonly<link linkend='boost_pfr.limitations_and_configuration'>\\endxmlonly simple aggregate \\xmlonly</link>\\endxmlonly\" \\
37            \"BOOST_PFR_DOXYGEN_INVOKED\" \\
38        "
39    ;
40
41doxygen autodoc_pfr
42    :
43        [ glob ../../../boost/pfr.hpp ]
44        [ glob ../../../boost/pfr/*.hpp ]
45    :
46        $(doxygen_params)
47        <xsl:param>"boost.doxygen.reftitle=Reference Section"
48    ;
49
50boostbook pfr-doc
51    :
52        pfr.qbk
53    :
54        <dependency>autodoc_pfr
55        <xsl:param>boost.root=https://www.boost.org/doc/libs/1_72_0
56        #<xsl:param>boost.root=../../../.
57        <xml:param>html.stylesheet=../../../../doc/src/boostbook.css
58    ;
59
60###############################################################################
61alias boostdoc
62    : pfr-doc/<format>docbook
63    :
64    :
65    : ;
66explicit boostdoc ;
67alias boostrelease ;
68explicit boostrelease ;
69
70