1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-28 23:20:23 +02:00

docs: remove redundant route docstring

This commit is contained in:
Qingping Hou
2017-05-25 19:57:52 -07:00
parent 08e3aa4ed6
commit 9e2812daac
6 changed files with 3 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS = -E
SPHINXBUILD = sphinx-build
SPHINXPROJ = Oncall
SOURCEDIR = source
@@ -17,8 +17,8 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
livehtml:
sphinx-autobuild -b html -H 0.0.0.0 --ignore '*~' "$(SOURCEDIR)" "$(BUILDDIR)/html"
sphinx-autobuild -b html -H 0.0.0.0 --ignore '*~' "$(SOURCEDIR)" "$(BUILDDIR)/html" -E

View File

@@ -65,8 +65,6 @@ constraints = {
def on_get(req, resp):
"""
http:get:: /api/v0/events
Search for events. Allows filtering based on a number of parameters, detailed below.
**Example request**:

View File

@@ -15,8 +15,6 @@ from ...utils import create_audit
def on_get(req, resp, team, roster):
"""
http:get:: /api/v0/teams/(str:team_name)/rosters
Get user and schedule info for a roster
**Example request**:

View File

@@ -14,8 +14,6 @@ from ...constants import ROSTER_USER_ADDED
def on_get(req, resp, team, roster):
"""
http:get:: /api/v0/teams/team-foo/rosters/roster-foo/users
Get all users for a team's roster
**Example request**:

View File

@@ -23,8 +23,6 @@ get_oncall_query = '''
def on_get(req, resp, team, role):
"""
http:get:: /api/v0/teams/(str:team_name)/oncall/(str:role)
Get current active event for team based on given role.
**Example request**:

View File

@@ -24,8 +24,6 @@ constraints = {
def on_get(req, resp):
'''
http:get:: /api/v0/teams
Search for team names. Allows filtering based on a number of parameters, detailed below.
Returns list of matching team names. If "active" parameter is unspecified, defaults to
True (only displaying undeleted teams)