From 6f85f3883678217ba3a53fbe2ce1bc4bd9d463ce Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 8 Aug 2017 06:20:24 -0700 Subject: [PATCH] Section headings in examples --- CHANGELOG.md | 6 ++++++ doc/qbk/02_examples.qbk | 22 ++++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6c39482..007788cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 102: + +* Section headings in examples + +-------------------------------------------------------------------------------- + Version 101: * Refactor all examples diff --git a/doc/qbk/02_examples.qbk b/doc/qbk/02_examples.qbk index 7ea8a8ab..baa6af84 100644 --- a/doc/qbk/02_examples.qbk +++ b/doc/qbk/02_examples.qbk @@ -48,7 +48,7 @@ in the [repo_file example] directory. [template example_src[path name] ''''''[name]''''''] -[heading Clients] +[section Clients] These HTTP clients submit a GET request to a server specified on the command line, and prints the resulting response. The crawl client asynchronously @@ -95,7 +95,11 @@ before disconnecting. [[example_src example/websocket/client/coro-ssl/websocket_client_coro_ssl.cpp websocket_client_coro_ssl.cpp]] ]] -[heading Servers] +[endsect] + + + +[section Servers] These HTTP servers deliver files from a root directory specified on the command line. @@ -159,7 +163,11 @@ session open until the client disconnects. [] ]] -[heading Advanced Servers] +[endsect] + + + +[section Servers (Advanced)] These servers offer both HTTP and WebSocket services on the same port, and illustrate the implementation of advanced features. @@ -183,7 +191,11 @@ and illustrate the implementation of advanced features. [[example_src example/advanced/server-flex/advanced_server_flex.cpp advanced_server_flex.cpp]] ]] -[heading Common Files] +[endsect] + + + +[section Common Files] Some of the examples use one or more shared header files, they are listed here along with a description of their use: @@ -233,6 +245,8 @@ listed here along with a description of their use: ] ]] +[endsect] + [section Documentation Samples]