Skip to content

Commit

Permalink
add documentation for web API
Browse files Browse the repository at this point in the history
  • Loading branch information
jbweston committed Jul 19, 2018
1 parent 89583ed commit 608b585
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/source/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ API documentation

reference/api.rst
reference/vpn.rst
reference/web.rst
3 changes: 3 additions & 0 deletions docs/source/reference/web.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
``nord.web``
------------
.. automodule:: nord.web
4 changes: 0 additions & 4 deletions nord/web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@
# along with this program. if not, see <http://www.gnu.org/licenses/>.
"""Serve nord as a web app.
To use this package as a library, simply instantiate an instance of the
app with `init_app`.
The API can be accessed by opening a websocket connection to '/api'.
Requests
========
The API accepts 2 types of request.
Expand Down

0 comments on commit 608b585

Please sign in to comment.