# # Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) # Copyright (c) 2021 Dmitry Arkhipov (grisumbras@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 json/doc ; import boostbook ; import ../../../tools/docca/docca.jam ; # Produce the reference.qbk from C++ sources docca.reference reference.qbk : xsl/custom-overrides.xsl [ glob-tree-ex include/docca : *.hpp ] : PROJECT_NAME=docca PROJECT_NUMBER= PROJECT_BRIEF="Documentation Library" ABBREVIATE_BRIEF= ALWAYS_DETAILED_SEC=YES INLINE_INHERITED_MEMB=YES FULL_PATH_NAMES=NO JAVADOC_AUTOBRIEF=YES MULTILINE_CPP_IS_BRIEF=YES DISTRIBUTE_GROUP_DOC=YES EXTRACT_ALL=YES EXTRACT_PRIVATE=YES EXTRACT_STATIC=YES EXTRACT_LOCAL_CLASSES=NO SHOW_INCLUDE_FILES=NO INLINE_INFO=NO SORT_MEMBER_DOCS=NO SORT_MEMBERS_CTORS_1ST=YES GENERATE_TODOLIST=NO GENERATE_TESTLIST=NO GENERATE_BUGLIST=NO GENERATE_DEPRECATEDLIST=NO SHOW_USED_FILES=NO SHOW_FILES=NO SHOW_NAMESPACES=NO FILE_PATTERNS= EXAMPLE_PATTERNS= MACRO_EXPANSION=YES EXPAND_ONLY_PREDEF=YES PREDEFINED="\\ DOXYGEN \\ GENERATING_DOCS \\ _MSC_VER" CLASS_DIAGRAMS=NO #STRIP_FROM_PATH=$(EXAMPLE_DIR)/include/docca #STRIP_FROM_INC_PATH=$(EXAMPLE_DIR)/include/docca ; #------------------------------------------------------------------------------- # # Produce the reference.qbk file by running # the reference xml through the transform. # #make reference.qbk # : # reference.xml # transform.xsl # : # saxonhe.saxonhe # ; #------------------------------------------------------------------------------- # # Produce the Boost.Book XML from the QuickBook # install images : [ glob images/*.png ] : html/json/images ; explicit images ; xml json_doc : main.qbk : reference.qbk images ; explicit json_doc ; #------------------------------------------------------------------------------- # # HTML documentation for $(BOOST_ROOT)/doc/html # #------------------------------------------------------------------------------- boostbook json : json_doc : boost.root=../../../.. chapter.autolabel=1 chunk.section.depth=8 # Depth to which sections should be chunked chunk.first.sections=1 # Chunk the first top-level section? toc.section.depth=2 # How deep should recursive sections appear in the TOC? toc.max.depth=8 # How many levels should be created for each TOC? generate.section.toc.level=8 # Control depth of TOC generation in sections generate.toc="chapter toc,title section nop reference nop" ../../../tools/boostbook/dtd : 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 ;