diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/quickbook/test/code_snippet-1_1.gold | |
parent | Initial commit. (diff) | |
download | ceph-upstream/16.2.11+ds.tar.xz ceph-upstream/16.2.11+ds.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/boost/tools/quickbook/test/code_snippet-1_1.gold | 22 | ||||
-rw-r--r-- | src/boost/tools/quickbook/test/code_snippet-1_1.gold-html | 39 |
2 files changed, 61 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/code_snippet-1_1.gold b/src/boost/tools/quickbook/test/code_snippet-1_1.gold new file mode 100644 index 000000000..1badf4bab --- /dev/null +++ b/src/boost/tools/quickbook/test/code_snippet-1_1.gold @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> +<article id="code_snippets" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" + xmlns:xi="http://www.w3.org/2001/XInclude"> + <title>Code Snippets</title> + <section id="code_snippets.a_code_snippet"> + <title>A code snippet</title> + <para> + Code snippets inlined in text, as in <code><phrase role="keyword">namespace</phrase> + <phrase role="identifier">quickbook</phrase> <phrase role="special">{</phrase> + <phrase role="keyword">static</phrase> <phrase role="keyword">const</phrase> + <phrase role="keyword">int</phrase> <phrase role="identifier">value</phrase> + <phrase role="special">=</phrase> <phrase role="number">0</phrase><phrase role="special">;</phrase> + <phrase role="special">}</phrase></code>, should be properly formatted and + not glued to the surrounding text. + </para> + <para> + There shoud be no spacees around (<code><phrase role="keyword">this</phrase></code>), + and spaces around <code><phrase role="keyword">this</phrase></code> code. + </para> + </section> +</article> diff --git a/src/boost/tools/quickbook/test/code_snippet-1_1.gold-html b/src/boost/tools/quickbook/test/code_snippet-1_1.gold-html new file mode 100644 index 000000000..a3738bf37 --- /dev/null +++ b/src/boost/tools/quickbook/test/code_snippet-1_1.gold-html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html> + <head></head> + <body> + <h3> + Code Snippets + </h3> + <div class="toc"> + <p> + <b>Table of contents</b> + </p> + <ul> + <li> + <a href="#code_snippets.a_code_snippet">A code snippet</a> + </li> + </ul> + </div> + <div id="code_snippets.a_code_snippet"> + <h3> + A code snippet + </h3> + <div id="code_snippets.a_code_snippet"> + <p> + Code snippets inlined in text, as in <code><span class="keyword">namespace</span> + <span class="identifier">quickbook</span> <span class="special">{</span> + <span class="keyword">static</span> <span class="keyword">const</span> + <span class="keyword">int</span> <span class="identifier">value</span> + <span class="special">=</span> <span class="number">0</span><span class="special">;</span> + <span class="special">}</span></code>, should be properly formatted and + not glued to the surrounding text. + </p> + <p> + There shoud be no spacees around (<code><span class="keyword">this</span></code>), + and spaces around <code><span class="keyword">this</span></code> code. + </p> + </div> + </div> + </body> +</html> |