| <!doctype html> |
| <!-- Generated by FreeMarker/Docgen from DocBook --> |
| <html lang="en" class="page-type-book"> |
| <head prefix="og: http://ogp.me/ns#"> |
| <meta charset="utf-8"> |
| <title>The test book</title> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| <meta name="viewport" content="width=device-width,initial-scale=1"> |
| <meta name="format-detection" content="telephone=no"> |
| <meta property="og:site_name" content="The test book"> |
| <meta property="og:title" content="The test book"> |
| <meta property="og:locale" content="en_US"> |
| <meta property="og:url" content="http://example.com/index.html"> |
| <link rel="canonical" href="http://example.com/index.html"> |
| <link rel="icon" href="favicon.png" type="image/png"> |
| <link rel="stylesheet" type="text/css" href="docgen-resources/docgen.min.css?1594338518803"> |
| </head> |
| <body itemscope itemtype="https://schema.org/Code"> |
| <meta itemprop="url" content="http://example.com/"> |
| <meta itemprop="name" content="The test book"> |
| |
| <!--[if lte IE 9]> |
| <div style="background-color: #C00; color: #fff; padding: 12px 24px;">Please use a modern browser to view this website.</div> |
| <![endif]--><div class="header-top-bg"><div class="site-width header-top"><a class="logo" href="http://example.com" role="banner"> <img itemprop="image" src="logo.png" alt="My Logo"> |
| </a></div></div><div class="header-bottom-bg"><div class="site-width search-row"><a href="index.html" class="navigation-header">The test book</a><div class="navigation-header"></div></div><div class="site-width breadcrumb-row"></div></div> <div class="main-content site-width"> |
| <div class="content-wrapper"> |
| <div id="table-of-contents-wrapper" class="col-left"> |
| <script>var breadcrumb = [];</script> |
| <script src="toc.js?1594338518803"></script> |
| <script src="docgen-resources/main.min.js?1594338518803"></script> |
| </div> |
| <div class="col-right"><div class="page-content"><div class="page-title"><div class="title-wrapper"> |
| <h1 class="content-header header-book" id="autoid_1" itemprop="headline">The test book</h1> |
| </div></div><div class="page-menu"> |
| <div class="page-menu-title">Page Contents</div> |
| <ul><li><a class="page-menu-link" href="#autoid_2" data-menu-target="autoid_2">Testing some elements</a><ul><li><a class="page-menu-link" href="#autoid_3" data-menu-target="autoid_3">Footers</a></li><li><a class="page-menu-link" href="#prg" data-menu-target="prg">Program listings</a></li><li><a class="page-menu-link" href="#xrefs" data-menu-target="xrefs">XREF-s</a></li><li><a class="page-menu-link" href="#tables" data-menu-target="tables">Tables</a></li><li><a class="page-menu-link" href="#autoid_4" data-menu-target="autoid_4">HTML anchors</a></li><li><a class="page-menu-link" href="#autoid_5" data-menu-target="autoid_5">In-line literals</a></li></ul></li><li><a class="page-menu-link" href="#autoid_6" data-menu-target="autoid_6">Just for the sake of structure</a></li><li><a class="page-menu-link" href="#autoid_7" data-menu-target="autoid_7">Yet another chapter</a><ul><li><a class="page-menu-link" href="#yet_another_section" data-menu-target="yet_another_section">Yet another section</a></li><li><a class="page-menu-link" href="#autoid_8" data-menu-target="autoid_8">Yet yet another section</a></li></ul></li></ul> </div> |
| |
| |
| |
| |
| <h2 class="content-header header-chapter" id="autoid_2">Testing some elements</h2> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="autoid_3">Footers</h3> |
| |
| |
| <p>Blah blah [<a href="#autoid_footnote_1">1</a>] , blah blah [<a href="#autoid_footnote_2">2</a>] more bla bla [<a href="#autoid_footnote_3">3</a>] </p> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="prg">Program listings</h3> |
| |
| |
| <p>Two <code class="inline-code">programlisting</code>-s following each other |
| should have proper vertical space between:</p> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default"><foo /></pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default"><bar /></pre></div> |
| |
| <p>These are not too long:</p> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">123456789012345678901234567890123456789012345678 |
| 123456789012345678901234567890123456789012345678 |
| 123456789012345678901234567890123456789012345678</pre></div> |
| |
| <p>Empty lines test:</p> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">No empty line v1</pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">No empty line v2</pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">Empty line after v1 |
| </pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">Empty line after v2 |
| </pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default"> |
| Empty line before</pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default"> |
| |
| Two empty lines before</pre></div> |
| |
| <p>Some more spacing tests:</p> |
| |
| <ul> |
| <li> |
| <p>Blah blah</p> |
| </li> |
| |
| <li> |
| <p>Blah blah</p> |
| </li> |
| |
| <li> |
| <p>Blah:</p> |
| |
| <div class="table-responsive"> |
| <table class="table"> |
| |
| <tr> |
| <td>a</td> |
| |
| |
| <td>b</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td>c</td> |
| |
| |
| <td>d</td> |
| |
| </tr> |
| |
| </table> |
| </div> |
| |
| |
| <div class="table-responsive"> |
| <table class="table"> |
| |
| <tr> |
| <td>a</td> |
| |
| |
| <td>b</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td>c</td> |
| |
| |
| <td>d</td> |
| |
| </tr> |
| |
| </table> |
| </div> |
| |
| </li> |
| |
| <li> |
| <p>Blah blah</p> |
| </li> |
| |
| <li> |
| <p>Blah:</p> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">Code</pre></div> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">Code</pre></div> |
| </li> |
| |
| <li> |
| <p>Blah</p> |
| </li> |
| </ul> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="xrefs">XREF-s</h3> |
| |
| |
| <p>An xref-s with automatically generated labels:</p> |
| |
| <ul> |
| <li> |
| <p>In this chapter: <a href="#prg">Program listings</a></p> |
| </li> |
| |
| <li> |
| <p>In another chapter: <a href="#yet_another_section">Yet another chapter/Yet another section</a></p> |
| </li> |
| |
| <li> |
| <p>And myself: <a href="#xrefs">XREF-s</a></p> |
| </li> |
| </ul> |
| |
| <p>An xref with explicit label: <a href="#tables">I'm an explicit XRef label</a></p> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="tables">Tables</h3> |
| |
| |
| <p>A simple table:</p> |
| |
| <div class="table-responsive"> |
| <table class="table"> |
| |
| <tr> |
| <td>a</td> |
| |
| |
| <td>b</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td>c</td> |
| |
| |
| <td>d</td> |
| |
| </tr> |
| |
| </table> |
| </div> |
| |
| |
| <p>Not so simple tables:</p> |
| |
| <div class="table-responsive"> |
| <table class="table"> |
| |
| <tr> |
| <th>ThisIsTheHead1</th> |
| |
| |
| <th>ThisIsTheHead 2</th> |
| |
| </tr> |
| |
| |
| <tr> |
| <td colspan="2">2 columns in one cell</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="left">left</td> |
| |
| |
| <td rowspan="3">3 rows in once cell</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="center">center</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="right">right</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td>default left</td> |
| |
| |
| <td>default left</td> |
| |
| </tr> |
| |
| </table> |
| </div> |
| |
| |
| <div class="table-responsive"> |
| <table class="table"> |
| |
| |
| |
| <tr> |
| <td align="right">right</td> |
| |
| |
| <td align="center">center</td> |
| |
| |
| <td align="right">right</td> |
| |
| |
| <td>default left</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="right">right</td> |
| |
| |
| <td align="center" colspan="2">center</td> |
| |
| |
| <td>default left</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="right" colspan="4">right_aligned_horizontal_stretcher__right_aligned_horizontal_stretcher__right_aligned_horizontal_stretcher__right_aligned_horizontal_stretcher__</td> |
| |
| </tr> |
| |
| </table> |
| </div> |
| |
| |
| <div class="table-responsive"> |
| <table class="table"> |
| |
| |
| |
| <thead> |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="center" colspan="1" rowspan="4" valign="middle">center-middle</td> |
| |
| |
| <td align="right" valign="bottom">right-bottom</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="right" valign="bottom">right-bottom</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="right" valign="bottom">right-bottom</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="right" valign="bottom">right-bottom</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="left" colspan="3" valign="top">left-top</td> |
| |
| </tr> |
| |
| </thead> |
| |
| |
| <tfoot> |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="center" valign="middle">center-middle</td> |
| |
| |
| <td align="right" valign="bottom">right-bottom</td> |
| |
| </tr> |
| |
| </tfoot> |
| |
| |
| <tbody> |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="center" valign="middle">center-middle</td> |
| |
| |
| <td align="right" valign="bottom">right-bottom</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="left" valign="top"><p>left-top</p><p>.</p></td> |
| |
| |
| <td align="center" colspan="2" valign="middle">center-middle</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td align="center" colspan="3" valign="top"><p>__horizontal_stretcher__horizontal_stretcher__horizontal_stretcher__horizontal_stretcher__horizontal_stretcher</p><p>I'm |
| center aligned horizontally.</p></td> |
| |
| </tr> |
| |
| |
| <tr align="center"> |
| <td align="left" colspan="3" valign="top"><p>__horizontal_stretcher__horizontal_stretcher__horizontal_stretcher__horizontal_stretcher__horizontal_stretcher</p><p>I'm |
| NOT center aligned horizontally, because the |
| <code class="inline-code">col</code> is stronger.</p></td> |
| |
| </tr> |
| |
| </tbody> |
| |
| </table> |
| </div> |
| |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="autoid_4">HTML anchors</h3> |
| |
| |
| <p><a name="a1"></a>I'm an anchored para.</p> |
| |
| <a name="a2"></a> <div class="table-responsive"> |
| <table class="table"> |
| |
| <tr> |
| <td>I'm</td> |
| |
| |
| <td>an</td> |
| |
| </tr> |
| |
| |
| <tr> |
| <td>anchored</td> |
| |
| |
| <td>table</td> |
| |
| </tr> |
| |
| </table> |
| </div> |
| |
| |
| <p class="center-img"><a name="a3"></a> <img src="test.gif" alt="Figure"> </p> |
| |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default"><a name="a4"></a>I'm anchored</pre></div> |
| |
| <a name="a5"></a><ul> |
| <li> |
| <p><a name="a6"></a>Anchored <code class="inline-code">listitem</code> in anchored |
| <code class="inline-code">itemizedlist</code></p> |
| </li> |
| </ul> |
| |
| <div class="orderedlist"><a name="a7"></a><ol type="1"> |
| <li> |
| <p><a name="a8"></a>Anchored <code class="inline-code">listitem</code> in anchored |
| <code class="inline-code">orderdlist</code></p> |
| </li> |
| </ol></div> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="autoid_5">In-line literals</h3> |
| |
| |
| <p>Special literals: <code class="inline-code">java.util</code>, |
| <code class="inline-code">java.util.Map</code>, |
| <code class="inline-code">Map.get</code></p> |
| |
| |
| |
| |
| |
| |
| <h2 class="content-header header-chapter" id="autoid_6">Just for the sake of structure</h2> |
| |
| |
| <p>There are no sections here, just us, |
| <code class="inline-code">para</code>-s.</p> |
| |
| |
| |
| |
| |
| <h2 class="content-header header-chapter" id="autoid_7">Yet another chapter</h2> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="yet_another_section">Yet another section</h3> |
| |
| |
| <p>Blah. And an xref: <a href="#simple">Yet yet another section/A simple section</a></p> |
| |
| |
| |
| |
| |
| |
| |
| <h3 class="content-header header-section1" id="autoid_8">Yet yet another section</h3> |
| |
| |
| |
| |
| |
| |
| |
| <h4 class="content-header header-simplesect" id="simple">A simple section</h4> |
| |
| |
| <p>Blah.</p> |
| |
| |
| <div id="footnotes"> |
| Footnotes: |
| <ol> |
| <li><a name="autoid_footnote_1"></a> |
| <p>First footnote. Footnote content is inserted into the DocBook |
| XML at the point of the reference, but visually it's usually moved |
| out from that context, to the bottom of the page. Anyway, I'm just |
| saying that so we will have a multi-line footnote, which may |
| triggers some browser bugs or otherwise give a good preview of how |
| longer footnotes look.</p> |
| </li> |
| <li><a name="autoid_footnote_2"></a> |
| <p>Second footnote.</p> |
| |
| <p>A footnote may contains multiple paras, or even |
| listings:</p> |
| |
| <ul> |
| <li> |
| <p>Blah</p> |
| </li> |
| |
| <li> |
| <p>Blah blah</p> |
| </li> |
| </ul> |
| |
| <p>and...</p> |
| |
| |
| |
| <div class="code-wrapper"><pre class="code-block code-default">System.out.println("... even programlistings!"); |
| return 0;</pre></div> |
| </li> |
| <li><a name="autoid_footnote_3"></a> |
| <p>Third footnote.</p> |
| </li> |
| </ol> |
| </div> |
| <div class="bottom-pagers-wrapper"></div></div></div> </div> |
| </div> |
| <div class="site-footer"><div class="site-width"><div class="footer-bottom"> <p class="last-generated"> |
| Last generated: |
| <time itemprop="dateModified" datetime="2020-07-09T23:48:38Z" title="Thursday, July 9, 2020 11:48:38 PM GMT">2020-07-09 23:48:38 GMT</time> </p> |
| <p class="copyright"> |
| © <span itemprop="copyrightYear">1999</span>–2020 |
| <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="https://apache.org/">The Apache Software Foundation</a> </p> |
| </div></div></div></body> |
| </html> |