Skip to content

Commit

Permalink
page formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnDriscoll committed Oct 2, 2017
1 parent 1bd0ece commit f8ab4bf
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Binary file modified docs/build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/.doctrees/installing.doctree
Binary file not shown.
Binary file modified docs/build/.doctrees/tutorial.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/_sources/installing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ If your code setup is different, in that you like to keep your function modules
from your main code, you could copy ``diceroll.py`` into that folder.

Say you have a folder called ``library``, and assuming you have an ``__init__.py`` inside it, just copy ``diceroll.py``
into your ``library`` folder and add this line near the top of your code ::
into your ``library`` folder and add this line near the top of your code: ::

from library.diceroll import roll
4 changes: 2 additions & 2 deletions docs/build/_sources/tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The dice types to roll are:

Encountering Errors
-------------------
Entering an invalid string for ``roll()`` will return an error message, as well as a value of 0 from the function. ::
Entering an invalid string for ``roll()`` will return an error message, as well as a value of 0 from the function: ::

print roll('3d')

Expand All @@ -59,7 +59,7 @@ What's New
----------
.. versionadded:: 2.2

One exception to the "integer" rule for ``roll()`` is when using ``roll('info')``, which will return two strings.
One exception to the "integer" rule for ``roll()`` is when using ``roll('info')``, which will return two strings:

>>> version, release = roll('info')
>>> print version
Expand Down
2 changes: 1 addition & 1 deletion docs/build/installing.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h1><strong>Installing diceroll</strong><a class="headerlink" href="#installing-
<p>If your code setup is different, in that you like to keep your function modules in a folder separate
from your main code, you could copy <tt class="docutils literal"><span class="pre">diceroll.py</span></tt> into that folder.</p>
<p>Say you have a folder called <tt class="docutils literal"><span class="pre">library</span></tt>, and assuming you have an <tt class="docutils literal"><span class="pre">__init__.py</span></tt> inside it, just copy <tt class="docutils literal"><span class="pre">diceroll.py</span></tt>
into your <tt class="docutils literal"><span class="pre">library</span></tt> folder and add this line near the top of your code</p>
into your <tt class="docutils literal"><span class="pre">library</span></tt> folder and add this line near the top of your code:</p>
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">library.diceroll</span> <span class="kn">import</span> <span class="n">roll</span>
</pre></div>
</div>
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.2 Manual" href="index.html" />
<generator object at 0x03698B70>
<generator object at 0x03636E18>

<script type="text/javascript">
DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
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.2 Manual" href="index.html" />
<generator object at 0x0368A6E8>
<generator object at 0x037A3418>
<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.

4 changes: 2 additions & 2 deletions docs/build/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>Rolling the Dice<a class="headerlink" href="#rolling-the-dice" title="Permal
</div>
<div class="section" id="encountering-errors">
<h2>Encountering Errors<a class="headerlink" href="#encountering-errors" title="Permalink to this headline"></a></h2>
<p>Entering an invalid string for <tt class="docutils literal"><span class="pre">roll()</span></tt> will return an error message, as well as a value of 0 from the function.</p>
<p>Entering an invalid string for <tt class="docutils literal"><span class="pre">roll()</span></tt> will return an error message, as well as a value of 0 from the function:</p>
<div class="highlight"><pre><span class="k">print</span> <span class="n">roll</span><span class="p">(</span><span class="s">&#39;3d&#39;</span><span class="p">)</span>
</pre></div>
<div class="admonition error">
Expand All @@ -111,7 +111,7 @@ <h2>Encountering Errors<a class="headerlink" href="#encountering-errors" title="
<h2>What&#8217;s New<a class="headerlink" href="#what-s-new" title="Permalink to this headline"></a></h2>
<p>
<span class="versionmodified">New in version 2.2.</span></p>
<p>One exception to the &#8220;integer&#8221; rule for <tt class="docutils literal"><span class="pre">roll()</span></tt> is when using <tt class="docutils literal"><span class="pre">roll('info')</span></tt>, which will return two strings.</p>
<p>One exception to the &#8220;integer&#8221; rule for <tt class="docutils literal"><span class="pre">roll()</span></tt> is when using <tt class="docutils literal"><span class="pre">roll('info')</span></tt>, which will return two strings:</p>
<div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">version</span><span class="p">,</span> <span class="n">release</span> <span class="o">=</span> <span class="n">roll</span><span class="p">(</span><span class="s">&#39;info&#39;</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="k">print</span> <span class="n">version</span>
<span class="go">2.2</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ If your code setup is different, in that you like to keep your function modules
from your main code, you could copy ``diceroll.py`` into that folder.

Say you have a folder called ``library``, and assuming you have an ``__init__.py`` inside it, just copy ``diceroll.py``
into your ``library`` folder and add this line near the top of your code ::
into your ``library`` folder and add this line near the top of your code: ::

from library.diceroll import roll
4 changes: 2 additions & 2 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The dice types to roll are:
Encountering Errors
-------------------
Entering an invalid string for ``roll()`` will return an error message, as well as a value of 0 from the function. ::
Entering an invalid string for ``roll()`` will return an error message, as well as a value of 0 from the function: ::

print roll('3d')

Expand All @@ -59,7 +59,7 @@ What's New
----------
.. versionadded:: 2.2

One exception to the "integer" rule for ``roll()`` is when using ``roll('info')``, which will return two strings.
One exception to the "integer" rule for ``roll()`` is when using ``roll('info')``, which will return two strings:

>>> version, release = roll('info')
>>> print version
Expand Down

0 comments on commit f8ab4bf

Please sign in to comment.