Skip to content

Commit

Permalink
index fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnDriscoll committed Oct 26, 2017
1 parent c3d6de9 commit 67a864e
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 9 deletions.
Binary file modified docs/build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/.doctrees/introduction.doctree
Binary file not shown.
Binary file modified docs/build/.doctrees/samples.doctree
Binary file not shown.
5 changes: 3 additions & 2 deletions docs/build/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ <h2>Installing Automatically<a class="headerlink" href="#installing-automaticall
<span class="go">(&#39;2.4&#39;, &#39;roll(), release version 2.4.0b for Python 2.5.4&#39;)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="k">print</span> <span class="n">roll</span><span class="o">.</span><span class="n">__doc__</span>
<span class="go"> The dice types to roll are:</span>
<span class="go"> &#39;D2&#39;, &#39;D3&#39;, &#39;D4&#39;, &#39;D6&#39;, &#39;D8&#39;, &#39;D9&#39;, &#39;D10&#39;, &#39;D12&#39;, &#39;D20&#39;, &#39;D30&#39;,</span>
<span class="go"> &#39;D100&#39;, &#39;D66&#39;, &#39;DD&#39;, &#39;FLUX&#39;, &#39;GOODFLUX&#39;, &#39;BADFLUX&#39;, &#39;BOON&#39;, &#39;BANE&#39;</span>
<span class="go"> &#39;D2&#39;, &#39;D3&#39;, &#39;D4&#39;, &#39;D6&#39;, &#39;D8&#39;, &#39;D9&#39;, &#39;D10&#39;,</span>
<span class="go"> &#39;D12&#39;, &#39;D20&#39;, &#39;D30&#39;, &#39;D100&#39;, &#39;D66&#39;, &#39;DD&#39;,</span>
<span class="go"> &#39;FLUX&#39;, &#39;GOODFLUX&#39;, &#39;BADFLUX&#39;, &#39;BOON&#39;, &#39;BANE&#39;</span>
<span class="go"> Some examples are:</span>
<span class="go"> roll(&#39;D6&#39;) or roll(&#39;1D6&#39;) -- roll one 6-sided die</span>
<span class="go"> roll(&#39;2D6&#39;) -- roll two 6-sided dice</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<link rel="index" title="Global index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="top" title="diceroll 2.4 Operations Manual" href="index.html" />
<generator object at 0x037A5DF0>
<generator object at 0x03751698>

<script type="text/javascript">
DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
Expand Down
3 changes: 2 additions & 1 deletion docs/build/samples.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ <h2>For Probabilites<a class="headerlink" href="#for-probabilites" title="Permal
<span class="k">if</span> <span class="n">skilled</span> <span class="o">==</span> <span class="s">&#39;n&#39;</span><span class="p">:</span>
<span class="n">die_mod</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">die_mod</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="nb">raw_input</span><span class="p">(</span><span class="s">&quot;Enter your character&#39;s skill level (0 to 4)? &quot;</span><span class="p">))</span>
<span class="k">print</span> <span class="s">&quot;Enter your character&#39;s skill level&quot;</span>
<span class="n">die_mod</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="nb">raw_input</span><span class="p">(</span><span class="s">&#39;(0 to 4)? &#39;</span><span class="p">))</span>
<span class="k">print</span> <span class="s">&#39;Enter the difficulty of the task&#39;</span>
<span class="n">difficulty</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="nb">raw_input</span><span class="p">(</span><span class="s">&#39;(Impossible: -6 to Easy: +6)? &#39;</span><span class="p">))</span>

Expand Down
2 changes: 1 addition & 1 deletion docs/build/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<link rel="index" title="Global index" href="genindex.html" />
<link rel="search" title="Search" href="" />
<link rel="top" title="diceroll 2.4 Operations Manual" href="index.html" />
<generator object at 0x036F5A80>
<generator object at 0x037E83C8>
<script type="text/javascript" src="_static/searchtools.js"></script>

</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/searchindex.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/source/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ Some ways to see if the ``diceroll`` module was installed correctly is by typing
('2.4', 'roll(), release version 2.4.0b for Python 2.5.4')
>>> print roll.__doc__
The dice types to roll are:
'D2', 'D3', 'D4', 'D6', 'D8', 'D9', 'D10', 'D12', 'D20', 'D30',
'D100', 'D66', 'DD', 'FLUX', 'GOODFLUX', 'BADFLUX', 'BOON', 'BANE'
'D2', 'D3', 'D4', 'D6', 'D8', 'D9', 'D10',
'D12', 'D20', 'D30', 'D100', 'D66', 'DD',
'FLUX', 'GOODFLUX', 'BADFLUX', 'BOON', 'BANE'
Some examples are:
roll('D6') or roll('1D6') -- roll one 6-sided die
roll('2D6') -- roll two 6-sided dice
Expand Down
3 changes: 2 additions & 1 deletion docs/source/samples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Sample Task Resolution: ::
if skilled == 'n':
die_mod = -3
else:
die_mod = int(raw_input("Enter your character's skill level (0 to 4)? "))
print "Enter your character's skill level"
die_mod = int(raw_input('(0 to 4)? '))
print 'Enter the difficulty of the task'
difficulty = int(raw_input('(Impossible: -6 to Easy: +6)? '))

Expand Down

0 comments on commit 67a864e

Please sign in to comment.