|
| 1 | +# Input |
| 2 | +source-root: .. |
| 3 | +# Directories that contain documented source files |
| 4 | +input: |
| 5 | + - ../include |
| 6 | +# Patterns to filter out the source-files in the directories |
| 7 | +file-patterns: |
| 8 | + - '*.hpp' |
| 9 | +exclude: |
| 10 | + - '../include/boost/url/impl' |
| 11 | + - '../include/boost/url/grammar/impl' |
| 12 | + - '../include/boost/url/rfc/impl' |
| 13 | + |
| 14 | +# Filters |
| 15 | +include-symbols: |
| 16 | + - 'boost::urls::**' |
| 17 | +see-below: |
| 18 | + - 'boost::urls::format_arg' |
| 19 | + - 'boost::urls::named_arg' |
| 20 | + - 'boost::urls::see_below' |
| 21 | + - 'boost::urls::*_t' |
| 22 | + - 'boost::urls::grammar::see_below' |
| 23 | + - 'boost::urls::string_token::see_below' |
| 24 | + - 'boost::urls::decode_view::iterator' |
| 25 | + - 'boost::urls::params_base::iterator' |
| 26 | + - 'boost::urls::params_encoded_base::iterator' |
| 27 | + - 'boost::urls::segments_base::iterator' |
| 28 | + - 'boost::urls::segments_encoded_base::iterator' |
| 29 | +implementation-defined: |
| 30 | + - 'boost::urls::detail' |
| 31 | + - 'boost::urls::**::detail' |
| 32 | + - 'boost::urls::*_unsafe' |
| 33 | + - 'boost::urls::make_error_code' |
| 34 | + - 'boost::urls::make_void' |
| 35 | + - 'boost::urls::implementation_defined' |
| 36 | + - 'boost::urls::grammar::implementation_defined' |
| 37 | + - 'boost::urls::string_token::implementation_defined' |
| 38 | + - 'boost::urls::grammar::*_t' |
| 39 | + - 'boost::urls::grammar::make_error_*' |
| 40 | + - 'boost::urls::grammar::operator_*' |
| 41 | + - 'boost::urls::string_token::*_t' |
| 42 | +exclude-symbols: |
| 43 | + - 'boost::urls::void_t' |
| 44 | + |
| 45 | +# Metadata Extraction |
| 46 | +private-bases: false |
| 47 | + |
| 48 | +# Generator |
| 49 | +generate: adoc |
| 50 | +base-url: https://www.github.com/boostorg/url/blob/develop/ # boost/url/url_view.hpp |
| 51 | + |
| 52 | +# Style |
| 53 | +verbose: true |
| 54 | +multipage: true |
| 55 | + |
| 56 | +# The target for MrDocs simply includes all symbols defined in all |
| 57 | +# headers with the appropriate compilation options. |
| 58 | +# Nothing else should be included in the MrDocs configuration or |
| 59 | +# would be useful to MrDocs. |
| 60 | +# |
| 61 | +# This single source file not only includes all symbols (the source |
| 62 | +# files do not collectively include all headers) but also makes MrDocs |
| 63 | +# run much faster than relying on the entire library. |
| 64 | +# |
| 65 | +# The time to extract the declarations went from ~8m6s to ~3s in our |
| 66 | +# experiments: a 162x speedup while including all symbols! |
| 67 | +# |
| 68 | +# In practice, this special target is simply emulating the |
| 69 | +# default behavior of the standardese tool with MrDocs, which |
| 70 | +# requires the user to clearly specify the targets via the |
| 71 | +# compilation database. |
| 72 | +# |
| 73 | +# The BOOST_URL_MRDOCS_BUILD=ON is the only option we usually need |
| 74 | +# here. |
| 75 | +# The other options are set just to ensure other targets are |
| 76 | +# ignored even if these options are set as ON in the cache. |
| 77 | +# |
| 78 | +cmake: '-D BOOST_URL_MRDOCS_BUILD=ON -D CMAKE_CXX_STANDARD=20 -D BOOST_URL_BUILD_FUZZERS=OFF -D BOOST_URL_BUILD_EXAMPLES=OFF -D BOOST_URL_BUILD_TESTS=OFF -D BUILD_TESTING=OFF' |
0 commit comments