[Boost-docs] Recent changes broke docs for boost.algorithm

From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2022-07-01 19:52:11


I have opened https://github.com/boostorg/quickbook/issues/15 <https://github.com/boostorg/quickbook/issues/15> to capture the details; but I’m hoping it’s something weird in the source files, rather than in Quickbooks.

Gist of the problem:

This compiles w/o error and generates dox.

```
[section:Copy Variations on Copy]
[section:variations_on_copy]

[section:copy_until copy_until ]
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_until] ] ]
Copy all the elements from the start of the input range to the output range until the predicate is satisfied
[endsect:copy_until]

[section:copy_while copy_while ]
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_while] ] ]
Copy all the elements from the start of the input range to the output range while the predicate is satisfied
[endsect:copy_while]

[section:copy_if_until copy_if_until ]
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_if_until ] ]
Copy all elements that satisfy the element predicate from the start of the input range to the output range until the termination predicate is satisfied

[endsect:copy_if_until]

[section:copy_if_while copy_if_while ]
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_if_while ] ]
Copy all elements that satisfy the element predicate from the start of the input range to the output range while the termination predicate is satisfied

[endsect:copy_if_while]

[endsect:variations_on_copy]
[endsect:Copy]
```

If I remove the blank lines before "[endsect:copy_if_until]” or "[endsect:copy_if_while]”, the build fails:

```
Generating output file: ../../../bin.v2/libs/algorithm/doc/algorithm.xml
algorithm.qbk:148: error: Endsect has incorrect id 'variations_on_copy', expected 'copy_if_until', near column 9.
algorithm.qbk:149: error: Endsect has incorrect id 'Copy', expected 'variations_on_copy', near column 9.
algorithm.qbk: warning: Missing [endsect] detected at end of file.
Error: Error count: 2.
```

Any ideas?

— Marshall



This archive was generated by hypermail 2.1.7 : 2022-07-01 19:52:21 UTC