Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleyel committed Apr 14, 2018
1 parent f10f36a commit e1a40c4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
# OpenWebif
OpenWebif is an open source web interface for Enigma2 based set-top boxes (STBs).

## Documentation
[Link](http://e2openplugins.github.io/e2openplugin-OpenWebif/)

## API Wiki
[Link](https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/wiki/OpenWebif-API-documentation)

## Screenshots
[Link](screenshots/SCREENSHOTS.md)

Expand Down
3 changes: 3 additions & 0 deletions doc/source/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ Basic Controllers

.. automodule:: controllers.root
:members:
:show-inheritance:

.. automodule:: controllers.base
:special-members:
:members:
:show-inheritance:

.. automodule:: controllers.utilities
:members:
Expand All @@ -22,4 +24,5 @@ Web Controllers

.. automodule:: controllers.web
:members:
:show-inheritance:

3 changes: 3 additions & 0 deletions plugin/controllers/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@


class RootController(BaseController):
"""
Root Web Controller
"""
def __init__(self, session, path=""):
BaseController.__init__(self, path=path, session=session)
piconpath = getPiconPath()
Expand Down
3 changes: 1 addition & 2 deletions plugin/controllers/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class WebController(BaseController):
Fork of *Enigma2 WebInterface API* as described in e.g.
https://dream.reichholf.net/e2web/.
"""

def __init__(self, session, path=""):
BaseController.__init__(self, path=path, session=session)
self.putChild("stream", StreamController(session))
Expand Down Expand Up @@ -279,7 +278,7 @@ def P_zap(self, request):
Returns:
HTTP response with headers
.. http:get:: /web/services.m3u
.. http:get:: /web/zap
:query string sRef: service reference
:query string title: service title
Expand Down

0 comments on commit e1a40c4

Please sign in to comment.