Skip to content

Commit

Permalink
Adds docs for flask
Browse files Browse the repository at this point in the history
  • Loading branch information
halfak committed Feb 11, 2017
1 parent 0754420 commit 35bf0c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,7 @@ def read(fname):


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
intersphinx_mapping = {
'http://docs.python.org/': None,
'http://pythonhosted.org/mwapi/': None,
'http://docs.python-requests.org/en/master/': None}
4 changes: 4 additions & 0 deletions doc/flask.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mwoauth.flask
=============

.. automodule:: mwoauth.flask
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MediaWiki OAuth Library Documentation
=====================================

``mwoauth`` is an open licensed (MIT) library designed to provide a simple means to performing an OAuth handshake with a MediaWiki installation with the `OAuth Extension <https://www.mediawiki.org/wiki/Extension:OAuth>`_ installed.
``mwoauth`` is an open licensed (MIT) library designed to provide a simple means to performing an OAuth handshake with a MediaWiki installation with the `OAuth Extension <https://www.mediawiki.org/wiki/Extension:OAuth>`_ installed.

**Compatible with python 2.7 and 3.x**

Expand All @@ -19,6 +19,7 @@ There are two ways to use this library:

Both of strategies make use of the same set of tokens (:class:`~mwoauth.ConsumerToken`, :class:`~mwoauth.RequestToken` and :class:`~mwoauth.AccessToken`) and are totally inter-operable (if you like to mixing things up).

There's also a :class:`flask.Blueprint` handler. See :mod:`mwoauth.flask`.

The OAuth Handshaker
====================
Expand Down Expand Up @@ -80,4 +81,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

0 comments on commit 35bf0c3

Please sign in to comment.