parent
817953c6f1
commit
29c7ad1ced
13 changed files with 532 additions and 457 deletions
16
tests/control_css/dir/collatz.py
Executable file
16
tests/control_css/dir/collatz.py
Executable file
|
@ -0,0 +1,16 @@
|
|||
|
||||
def nextInSequence(number):
|
||||
if isinstance(number, int):
|
||||
if number % 2 == 0:
|
||||
return number // 2
|
||||
else:
|
||||
return 3*number+1
|
||||
else:
|
||||
raise TypeError('input must be int!')
|
||||
|
||||
def seqenceLength(number):
|
||||
length = 0
|
||||
while number != 1:
|
||||
number = nextInSequence(number)
|
||||
length += 1
|
||||
return length
|
67
tests/control_css/dir/subdir/linked.html
Normal file
67
tests/control_css/dir/subdir/linked.html
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Asciidoctor 2.0.17">
|
||||
<meta name="author" content="Gabe Venberg">
|
||||
<title>relatively linked doc</title>
|
||||
<link rel="stylesheet" href="../../css/test.css">
|
||||
</head>
|
||||
<body class="article">
|
||||
<div id="header">
|
||||
<h1>relatively linked doc</h1>
|
||||
<div class="details">
|
||||
<span id="author" class="author">Gabe Venberg</span><br>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content">
|
||||
<div id="test-pattern" class="imageblock">
|
||||
<div class="content">
|
||||
<a class="image" href="git.venberg.xyz/Gabe/adocStaticSiteGen"><img src="../../images/test_pattern.svg" alt="Stand By"></a>
|
||||
</div>
|
||||
<div class="title">Figure 1. Technical Difficulties</div>
|
||||
</div>
|
||||
<div class="quoteblock">
|
||||
<blockquote>
|
||||
While the creative works from the 16th century can still be accessed and used by others, the data in some software programs from the 1990s is already inaccessible. Once a company that produces a certain product goes out of business, it has no simple way to uncover how its product encoded data. The code is thus lost, and the software is inaccessible. Knowledge has been destroyed.
|
||||
</blockquote>
|
||||
<div class="attribution">
|
||||
— Lawrence Lessig<br>
|
||||
<cite>May the Source Be With You</cite>
|
||||
</div>
|
||||
</div>
|
||||
<div class="verseblock">
|
||||
<pre class="content">Three Rings for the Elven-kings under the sky,
|
||||
Seven for the dwarf-lords in their halls of stone,
|
||||
Nine for Mortal Men doomed to die,
|
||||
One for the Dark Lord on his dark throne,
|
||||
In the Land of Mordor where the Shadows lie.
|
||||
One Ring to rule them all, One Ring to find them,
|
||||
One Ring to bring them all and in the darkness bind them
|
||||
In the Land of Mordor where the Shadows lie.</pre>
|
||||
<div class="attribution">
|
||||
— J.R.R. Tolkien<br>
|
||||
<cite>The Fellowship of the Ring</cite>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><a href="https://git.venberg.xyz/Gabe/adocStaticSiteGen" class="bare">https://git.venberg.xyz/Gabe/adocStaticSiteGen</a></p>
|
||||
</div>
|
||||
<div class="videoblock">
|
||||
<div class="title">A mechanical marvel</div>
|
||||
<div class="content">
|
||||
<iframe src="https://www.youtube.com/embed/IvUU8joBb1Q?rel=0" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><a href="../../landing_page.html#_link_tests">back to where you came!</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue