Skip to content

Commit

Permalink
Changed theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fp12 committed Dec 30, 2016
1 parent 2be3bde commit 42db9bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
27 changes: 14 additions & 13 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,30 @@ Getting Started

Simple example::

import challonge
import asyncio
import challonge
import asyncio

my_username = 'challonge_username'
my_api_key = 'challonge_api_key'
my_username = 'challonge_username'
my_api_key = 'challonge_api_key'

async def main(loop):
my_user = challonge.get_user(my_username, my_api_key)
my_tournaments = await my_user.get_tournaments()
for t in my_tournaments:
print(t.name)
async def main(loop):
my_user = challonge.get_user(my_username, my_api_key)
my_tournaments = await my_user.get_tournaments()
for t in my_tournaments:
print(t.name)

loop = asyncio.get_event_loop()
loop.run_until_complete(main(loop))

loop = asyncio.get_event_loop()
loop.run_until_complete(main(loop))


Dependencies
------------

- *python 3.5+*
- *aiohttp*
- *cchardet*
- *aiodns*
- *cchardet*
- *aiodns*


Authors and License
Expand Down

0 comments on commit 42db9bd

Please sign in to comment.