-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to difficulty making plantuml produce exact same output between d…
…ifference OS's, strip out svg elements when comparing html output
- Loading branch information
Showing
3 changed files
with
497 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,124 +1,278 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head><title>doc-REQ</title> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | ||
<link rel="stylesheet" href="../template/bootstrap.min.css" /> | ||
<link rel="stylesheet" href="../template/general.css" /> | ||
<link type="text/css" rel="stylesheet" href="../template/doorstop.css" /> | ||
<script src="../template/tex-mml-chtml.js" id="MathJax-script" async></script> | ||
<head> | ||
<title> | ||
doc-REQ | ||
</title> | ||
<meta charset="utf-8"/> | ||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> | ||
<link href="../template/bootstrap.min.css" rel="stylesheet"/> | ||
<link href="../template/general.css" rel="stylesheet"/> | ||
<link href="../template/doorstop.css" rel="stylesheet" type="text/css"/> | ||
<script async="" id="MathJax-script" src="../template/tex-mml-chtml.js"> | ||
</script> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
MathJax.Hub.Config({ | ||
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]} | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
|
||
</head> | ||
<body> | ||
<header class="navbar navbar-expand-lg navbar-dark bd-navbar sticky-top text-bg-secondary"> | ||
<nav class="container-xxl bd-gutter flex-wrap flex-lg-nowrap" aria-label="Document attributes"> | ||
<nav aria-label="Document attributes" class="container-xxl bd-gutter flex-wrap flex-lg-nowrap"> | ||
<div class="container-fluid"> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNavDropdown"> | ||
<ul class="navbar-nav"> | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> | ||
Contents | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li><a class="dropdown-item" href="#toc">Table of Contents</a></li> | ||
<ul> | ||
<li><a class="dropdown-item" href="#REQ001">1.2.3 REQ001</a></li> | ||
</ul> | ||
<li><a class="dropdown-item" href="#REQ003">1.4 REQ003</a></li> | ||
<li><a class="dropdown-item" href="#REQ006">1.5 REQ006</a></li> | ||
<li><a class="dropdown-item" href="#REQ004">1.6 REQ004</a></li> | ||
<li><a class="dropdown-item" href="#REQ002">2.1 Plantuml</a></li> | ||
<li><a class="dropdown-item" href="#REQ2-001">2.1 REQ2-001</a></li> | ||
</ul> | ||
<button aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler" data-bs-target="#navbarNavDropdown" data-bs-toggle="collapse" type="button"> | ||
<span class="navbar-toggler-icon"> | ||
</span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNavDropdown"> | ||
<ul class="navbar-nav"> | ||
<li class="nav-item dropdown"> | ||
<a aria-expanded="false" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button"> | ||
Contents | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li> | ||
<a class="dropdown-item" href="#toc"> | ||
Table of Contents | ||
</a> | ||
</li> | ||
<ul> | ||
<li> | ||
<a class="dropdown-item" href="#REQ001"> | ||
1.2.3 REQ001 | ||
</a> | ||
</li> | ||
</ul> | ||
<li> | ||
<a class="dropdown-item" href="#REQ003"> | ||
1.4 REQ003 | ||
</a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="#REQ006"> | ||
1.5 REQ006 | ||
</a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="#REQ004"> | ||
1.6 REQ004 | ||
</a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="#REQ002"> | ||
2.1 Plantuml | ||
</a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="#REQ2-001"> | ||
2.1 REQ2-001 | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-2"> | ||
<div class="bd-lead text-nowrap"> | ||
<!-- Insert logotype. --> | ||
<img src="../template/logo-black-white.png" alt="Doorstop" height="128" class="d-inline-block align-text-top"> | ||
</div> | ||
</div> | ||
<div class="col-6 align-self-center"> | ||
<div class="bd-lead text-nowrap text-center"> | ||
<span class="text-monospace"><strong>doc-REQ</strong></span> | ||
</div> | ||
</div> | ||
<div class="col-2"> | ||
<div class="bd-lead text-nowrap"> | ||
<span class="text-muted">Ref</span> | ||
<p><span class="text-monospace">-</span></p> | ||
</div> | ||
</div> | ||
<div class="col-2"> | ||
<div class="bd-lead text-nowrap"> | ||
<span class="text-muted">By</span> | ||
<p><span class="text-monospace">-</span></p> | ||
<span class="text-muted">Issue</span> | ||
<p><span class="text-monospace">-</span></p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-2"> | ||
<div class="bd-lead text-nowrap"> | ||
<!-- Insert logotype. --> | ||
<img alt="Doorstop" class="d-inline-block align-text-top" height="128" src="../template/logo-black-white.png"/> | ||
</div> | ||
</div> | ||
<div class="col-6 align-self-center"> | ||
<div class="bd-lead text-nowrap text-center"> | ||
<span class="text-monospace"> | ||
<strong> | ||
doc-REQ | ||
</strong> | ||
</span> | ||
</div> | ||
</div> | ||
<div class="col-2"> | ||
<div class="bd-lead text-nowrap"> | ||
<span class="text-muted"> | ||
Ref | ||
</span> | ||
<p> | ||
<span class="text-monospace"> | ||
- | ||
</span> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="col-2"> | ||
<div class="bd-lead text-nowrap"> | ||
<span class="text-muted"> | ||
By | ||
</span> | ||
<p> | ||
<span class="text-monospace"> | ||
- | ||
</span> | ||
</p> | ||
<span class="text-muted"> | ||
Issue | ||
</span> | ||
<p> | ||
<span class="text-monospace"> | ||
- | ||
</span> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
<div class="container-xxl bd-gutter mt-3 my-md-4 bd-layout"> | ||
<main class="bd-main order-1"> | ||
</nav> | ||
</header> | ||
<div class="container-xxl bd-gutter mt-3 my-md-4 bd-layout"> | ||
<main class="bd-main order-1"> | ||
<div class="bd-intro ps-lg-4"> | ||
<H1><p>Test document for development of <em>Doorstop</em></p></H1> | ||
<h3 id="REQ001">1.2.3 REQ001</h3> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | ||
<h1> | ||
<p> | ||
Test document for development of | ||
<em> | ||
Doorstop | ||
</em> | ||
</p> | ||
</h1> | ||
<h3 id="REQ001"> | ||
1.2.3 REQ001 | ||
</h3> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | ||
tempor incididunt ut labore et dolore magna aliqua. | ||
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut | ||
aliquip ex ea commodo consequat. | ||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore | ||
eu fugiat nulla pariatur. | ||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia | ||
deserunt mollit anim id est laborum.</p> | ||
<p><em>Parent links:</em> <a href="SYS.html#SYS001">SYS001</a>, <a href="SYS.html#SYS002">SYS002</a></p> | ||
<h2 id="REQ003">1.4 REQ003</h2> | ||
<p>Unicode: -40° ±1%</p> | ||
<blockquote> | ||
<p><code>external/text.txt</code> (line 3)</p> | ||
</blockquote> | ||
<p><em>Parent links:</em> <a href="REQ.html#REQ001">REQ001</a></p> | ||
<h2 id="REQ006">1.5 REQ006</h2> | ||
<p>Hello, world!</p> | ||
<blockquote> | ||
<p><code>external/text.txt</code> (line 3) | ||
<code>external/text2.txt</code></p> | ||
</blockquote> | ||
<p><em>Parent links:</em> <a href="REQ.html#REQ001">REQ001</a></p> | ||
<h2 id="REQ004">1.6 REQ004</h2> | ||
<p>Hello, world!</p> | ||
<h2 id="REQ002">2.1 Plantuml <small>REQ002</small></h2> | ||
<p>Hello, world!</p> | ||
<p><ns0:svg xmlns:ns0="http://www.w3.org/2000/svg" contentStyleType="text/css" preserveAspectRatio="xMaxYMax meet" style="background:#FFFFFF" version="1.1" viewBox="0 0 303 206" width="100%" zoomAndPan="magnify" class="class1,class2" alt="Use Cases of Doorstop" title="Use Cases of Doorstop"><ns0:defs /><ns0:g><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="264.9541" x="5" y="19">Dot Executable: /opt/local/bin/dot</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="236.2637" x="5" y="35.2969">Dot executable does not exist</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="291.5869" x="5" y="51.5938">Cannot find Graphviz. You should try</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="4.874" x="5" y="67.8906"> </ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="81.4229" x="5" y="84.1875">@startuml</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="57.5449" x="5" y="100.4844">testdot</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="72.8369" x="5" y="116.7813">@enduml</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="4.874" x="5" y="133.0781"> </ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="16.5225" x="9.874" y="149.375">or</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="4.874" x="5" y="165.6719"> </ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="234.5068" x="5" y="181.9688">java -jar plantuml.jar -testdot</ns0:text><ns0:text fill="#33FF02" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="4.874" x="5" y="198.2656"> </ns0:text></ns0:g></ns0:svg></p> | ||
<p><em>Child links:</em> <a href="TST.html#TST001">TST001</a>, <a href="TST.html#TST002">TST002</a></p> | ||
<h2 id="REQ2-001">2.1 REQ2-001</h2> | ||
<p>Hello, world!</p> | ||
<p>Test Math Expressions in Latex Style:</p> | ||
<p>Inline Style 1: $a \ne 0$ | ||
deserunt mollit anim id est laborum. | ||
</p> | ||
<p> | ||
<em> | ||
Parent links: | ||
</em> | ||
<a href="SYS.html#SYS001"> | ||
SYS001 | ||
</a> | ||
, | ||
<a href="SYS.html#SYS002"> | ||
SYS002 | ||
</a> | ||
</p> | ||
<h2 id="REQ003"> | ||
1.4 REQ003 | ||
</h2> | ||
<p> | ||
Unicode: -40° ±1% | ||
</p> | ||
<blockquote> | ||
<p> | ||
<code> | ||
external/text.txt | ||
</code> | ||
(line 3) | ||
</p> | ||
</blockquote> | ||
<p> | ||
<em> | ||
Parent links: | ||
</em> | ||
<a href="REQ.html#REQ001"> | ||
REQ001 | ||
</a> | ||
</p> | ||
<h2 id="REQ006"> | ||
1.5 REQ006 | ||
</h2> | ||
<p> | ||
Hello, world! | ||
</p> | ||
<blockquote> | ||
<p> | ||
<code> | ||
external/text.txt | ||
</code> | ||
(line 3) | ||
<code> | ||
external/text2.txt | ||
</code> | ||
</p> | ||
</blockquote> | ||
<p> | ||
<em> | ||
Parent links: | ||
</em> | ||
<a href="REQ.html#REQ001"> | ||
REQ001 | ||
</a> | ||
</p> | ||
<h2 id="REQ004"> | ||
1.6 REQ004 | ||
</h2> | ||
<p> | ||
Hello, world! | ||
</p> | ||
<h2 id="REQ002"> | ||
2.1 Plantuml | ||
<small> | ||
REQ002 | ||
</small> | ||
</h2> | ||
<p> | ||
Hello, world! | ||
</p> | ||
<p> | ||
</p> | ||
<p> | ||
<em> | ||
Child links: | ||
</em> | ||
<a href="TST.html#TST001"> | ||
TST001 | ||
</a> | ||
, | ||
<a href="TST.html#TST002"> | ||
TST002 | ||
</a> | ||
</p> | ||
<h2 id="REQ2-001"> | ||
2.1 REQ2-001 | ||
</h2> | ||
<p> | ||
Hello, world! | ||
</p> | ||
<p> | ||
Test Math Expressions in Latex Style: | ||
</p> | ||
<p> | ||
Inline Style 1: $a \ne 0$ | ||
Inline Style 2: (ax^2 + bx + c = 0) | ||
Multiline: $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$</p> | ||
<p><em>Parent links:</em> <a href="REQ.html#REQ001">REQ001</a></p> | ||
<p><em>Child links:</em> <a href="TST.html#TST001">TST001</a></p> | ||
Multiline: $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ | ||
</p> | ||
<p> | ||
<em> | ||
Parent links: | ||
</em> | ||
<a href="REQ.html#REQ001"> | ||
REQ001 | ||
</a> | ||
</p> | ||
<p> | ||
<em> | ||
Child links: | ||
</em> | ||
<a href="TST.html#TST001"> | ||
TST001 | ||
</a> | ||
</p> | ||
</div> | ||
</main> | ||
</div> | ||
<script src="../template/bootstrap.bundle.min.js"></script> | ||
</body> | ||
</main> | ||
</div> | ||
<script src="../template/bootstrap.bundle.min.js"> | ||
</script> | ||
</body> | ||
</html> | ||
|
Oops, something went wrong.