Skip to content

Commit

Permalink
trying different theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnDriscoll committed Oct 26, 2017
1 parent 3fa9cea commit b687d81
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 20 deletions.
5 changes: 3 additions & 2 deletions diceroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ def _dierolls(dtype, dcount):
def roll(dice):
'''
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
Expand Down
Binary file modified docs/build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/.doctrees/index.doctree
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions docs/build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ <h3>Navigation</h3>

<div class="section" id="diceroll-2-4-operations-manual">
<h1><strong>diceroll 2.4 Operations Manual</strong><a class="headerlink" href="#diceroll-2-4-operations-manual" title="Permalink to this headline"></a></h1>
<div class="figure">
<img alt="_images/diceroll_manual_cover_pdf_art.png" src="_images/diceroll_manual_cover_pdf_art.png" />
</div>
<p><strong>diceroll 2.4</strong> is easy-to-use, open source die rolling software. Written
in Python 2.5 and using a variety of IDEs, <strong>diceroll 2.4</strong> supports
many gaming and RPG die rolling conventions.</p>
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 0x03767E40>
<generator object at 0x0375F1E8>

<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.4 Operations Manual" href="index.html" />
<generator object at 0x03767D00>
<generator object at 0x03774FA8>
<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.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 11 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,18 @@
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
html_style = 'default.css'

on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
html_theme = 'default'
else:
html_theme = 'nature'
# html_style = 'default.css'
# on_rtd = os.environ.get('READTHEDOCS') == 'True'
# if on_rtd:
# html_theme = 'default'
# else:
# html_theme = 'nature'

html_theme = 'agogo'
html_theme_options = {
'index_logo': 'diceroll_manual_cover_pdf_art.png',
}

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down
5 changes: 3 additions & 2 deletions docs/source/diceroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ def _dierolls(dtype, dcount):
def roll(dice):
'''
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
Expand Down
4 changes: 1 addition & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
**diceroll 2.4 Operations Manual**
==================================

.. figure:: diceroll_manual_cover_pdf_art.png

**diceroll 2.4** is easy-to-use, open source die rolling software. Written
in Python 2.5 and using a variety of IDEs, **diceroll 2.4** supports
many gaming and RPG die rolling conventions.
Expand Down Expand Up @@ -36,4 +34,4 @@ Indices and tables
------------------

* :ref:`genindex`
* :ref:`search`
* :ref:`search`
2 changes: 1 addition & 1 deletion docs/source/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ SOFTWARE.

Contact
-------
Questions? Please contact shawndriscoll@hotmail.com
Questions? Please contact shawndriscoll@hotmail.com

0 comments on commit b687d81

Please sign in to comment.