boostorg / static_string

A fixed capacity dynamically sized string
http://boost.org/libs/static_string
Boost Software License 1.0
62 stars 29 forks source link

Docs: Update Jamfile to use reusable docca Jamfile #24

Closed evanlenz closed 1 year ago

evanlenz commented 3 years ago

Use the pattern shown here: https://github.com/boostorg/beast/blob/develop/doc/Jamfile

And here: https://github.com/boostorg/json/blob/develop/doc/Jamfile

alandefreitas commented 1 year ago

The script is failing with this error:

console ``` Generate XML output for dir /home/alandefreitas/Documents/Code/C++/boost/libs/static_string/include/boost/static_string/ lookup cache used 488/65536 hits=22543 misses=498 finished... saxonhe.saxonhe bin.v2/libs/static_string/doc/_reference-dir/xml-pages.xml Warning at char 9 in xsl:sequence/@select on line 78 column 84 of base-extract-xml-pages.xsl: XTDE1160: The fragment identifier {ifdef_01BOOST__STATIC__STRING_...} is not a valid NCName Error evaluating (fn:document(...)) in xsl:sequence/@select on line 78 column 84 of base-extract-xml-pages.xsl: FODC0002: I/O error reported by XML parser processing file:/home/alandefreitas/Documents/Code/C++/boost/bin.v2/libs/static_string/doc/_reference-dir/structstd_1_1hash_3: /home/alandefreitas/Documents/Code/C++/boost/bin.v2/libs/static_string/doc/_reference-dir/structstd_1_1hash_3 (No such file or directory) at function d:get-source-doc on line 76 of base-extract-xml-pages.xsl: invoked by function call at file:/home/alandefreitas/Documents/Code/C++/boost/bin.v2/libs/static_string/doc/_reference-dir/base-extract-xml-pages.xsl#53 In template rule with match="compound" on line 51 of base-extract-xml-pages.xsl invoked by xsl:apply-templates at file:/home/alandefreitas/Documents/Code/C++/boost/bin.v2/libs/static_string/doc/_reference-dir/base-extract-xml-pages.xsl#26 In template rule with match="/" on line 24 of base-extract-xml-pages.xsl I/O error reported by XML parser processing file:/home/alandefreitas/Documents/Code/C++/boost/bin.v2/libs/static_string/doc/_reference-dir/structstd_1_1hash_3: /home/alandefreitas/Documents/Code/C++/boost/bin.v2/libs/static_string/doc/_reference-dir/structstd_1_1hash_3 (No such file or directory) "java" -jar "/usr/share/java//Saxon-HE.jar" -o:"bin.v2/libs/static_string/doc/_reference-dir/xml-pages.xml" -s:"bin.v2/libs/static_string/doc/_reference-dir/index.xml" -xsl:"bin.v2/libs/static_string/doc/_reference-dir/extract-xml-pages.xsl" ...failed saxonhe.saxonhe bin.v2/libs/static_string/doc/_reference-dir/xml-pages.xml... ...removing bin.v2/libs/static_string/doc/_reference-dir/xml-pages.xml ...skipped _reference-dir/stage1/results for lack of _reference-dir/xml-pages... ...skipped _reference-dir/stage2/results for lack of _reference-dir/stage1/results... ...skipped reference.qbk for lack of _reference-dir/xml-pages.xml... ...skipped static_string_doc.xml for lack of reference.qbk... ...skipped static_string_doc.docbook for lack of static_string_doc.xml... ...skipped static_string_HTML.manifest for lack of static_string_doc.docbook... ...failed updating 1 target... ...skipped 6 targets... ...updated 2 targets... ```

The error happens before and after updating Jamfile as recommended here.

Any ideas?