forked from boostorg/geometry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c17350
commit adb1509
Showing
39 changed files
with
239 additions
and
1,584 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# =========================================================================== | ||
# Copyright (c) 2024-2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# | ||
# 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) | ||
# ============================================================================ | ||
|
||
# Removes all generated output | ||
|
||
b2 clean | ||
|
||
rm -f index/generated/*.qbk | ||
rm -f generated/*.qbk | ||
rm -f generated/geometry.docbook | ||
rm -f generated/geometry.xml | ||
rm -Rf html/geometry | ||
rm -Rf doxy/doxygen_output/xml | ||
rm -Rf doxy/doxygen_output/html_by_doxygen | ||
rm -Rf index/xml | ||
rm -Rf index/html_by_doxygen | ||
|
||
git ls-files --others |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# =========================================================================== | ||
# Copyright (c) 2024-2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# | ||
# 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) | ||
# ============================================================================ | ||
|
||
# Makes the documentation without calling b2, to be able to do it in steps | ||
# and debug the individual steps. | ||
|
||
GENERATED_FOLDER=generated | ||
export XML_CATALOG_FILES="../../../bin.v2/boostbook_catalog.xml" | ||
|
||
echo "=== Running Doxygen" | ||
cd doxy | ||
doxygen Doxyfile | ||
cd .. | ||
|
||
echo "=== From Doxygen XML to QuickBook" | ||
python3 make_qbk.py --skip_doxygen | ||
|
||
echo "=== From QuickBook to BoostBook" | ||
../../../dist/bin/quickbook -I"../../.." -I"." -D"enable_index" \ | ||
--output-file=${GENERATED_FOLDER}/geometry.xml geometry.qbk | ||
|
||
echo "=== From BoostBook to DocBook" | ||
xsltproc --stringparam boost.defaults "Boost" \ | ||
--stringparam boost.root "../../../.." \ | ||
--path "${GENERATED_FOLDER}" \ | ||
--xinclude \ | ||
-o "${GENERATED_FOLDER}/geometry.docbook" \ | ||
"../../../tools/boostbook/xsl/docbook.xsl" \ | ||
"${GENERATED_FOLDER}/geometry.xml" | ||
|
||
# These parameters define behaviour for DocBook. Note that they are valid | ||
# for docbook-xsl-1.75.2 (the version included in Boost). If a later version | ||
# is used, the chunking is broken. | ||
# Their values should correspond with the values in Jamfile. | ||
# Note also that the sections.xsl file currently included boost might not work. | ||
# If this is encountered, remove the part "<xsl:call-template name="id.attribute">" | ||
chunk_section_depth=4 | ||
chunk_first_sections=1 | ||
toc_section_depth=3 | ||
toc_max_depth=2 | ||
generate_section_toc_level=4 | ||
|
||
params="--stringparam chunk.section.depth ${chunk_section_depth}" | ||
params="${params} --stringparam chunk.first.sections ${chunk_first_sections}" | ||
params="${params} --stringparam toc.max.depth ${toc_max_depth}" | ||
params="${params} --stringparam toc.section.depth ${toc_section_depth}" | ||
params="${params} --stringparam generate.section.toc.level ${generate_section_toc_level}" | ||
|
||
echo "=== From DocBook to html" | ||
xsltproc --stringparam boost.defaults "Boost" \ | ||
--stringparam boost.root "../../../.." \ | ||
${params} \ | ||
--path "${GENERATED_FOLDER}" \ | ||
--xinclude \ | ||
-o "html/" \ | ||
"../../../tools/boostbook/xsl/html.xsl" \ | ||
"${GENERATED_FOLDER}/geometry.docbook" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.