Skip to content

Commit 255a1d3

Browse files
committed
Merge documentation updates from PR #59
Great catches and fixes by @UniversalSuperBox. Pull them into the webexteamssdk package.
2 parents 6fbbd00 + 2dd57ca commit 255a1d3

File tree

16 files changed

+38
-36
lines changed

16 files changed

+38
-36
lines changed

docs/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
project = u'webexteamssdk'
14-
copyright = u'2016 Cisco Systems, Inc.'
14+
copyright = u'Copyright (c) 2016-2018 Cisco and/or its affiliates.'
1515
author = u'Chris Lunsford'
1616
version = get_versions()['version']
1717
release = get_versions()['version']
@@ -62,7 +62,9 @@
6262
# further. For a list of options available for each theme, see the
6363
# documentation.
6464
#
65-
# html_theme_options = {}
65+
html_theme_options = {
66+
'collapse_navigation': False
67+
}
6668

6769
# Add any paths that contain custom themes here, relative to this directory.
6870
# html_theme_path = []
@@ -90,7 +92,7 @@
9092
# Add any paths that contain custom static files (such as style sheets) here,
9193
# relative to this directory. They are copied after the builtin static files,
9294
# so a file named "default.css" will overwrite the builtin "default.css".
93-
html_static_path = ['_static']
95+
# html_static_path = ['_static']
9496

9597
# Add any extra paths that contain custom files (such as robots.txt or
9698
# .htaccess) here, relative to this directory. These files are copied

docs/user/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ roles
104104
.. _events:
105105

106106
events
107-
-----
107+
------
108108

109109
.. autoclass:: webexteamssdk.api.events.EventsAPI()
110110

docs/user/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Head over to the :ref:`Quickstart` page to begin working with the
136136
**Webex Teams APIs in native Python**!
137137

138138

139-
.. _License:
139+
.. _MITLicense:
140140

141141
MIT License
142142
-----------

script/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ fi
4444
if [ ${all} ] || [ ${docs} ]; then
4545
echo "==> Building the Docs"
4646
make -C docs clean
47-
make -C docs html
47+
make -C docs html SPHINXOPTS="-W"
4848
fi

webexteamssdk/api/access_tokens.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get(self, client_id, client_secret, code, redirect_uri):
118118
119119
Returns:
120120
AccessToken: An AccessToken object with the access token provided
121-
by the Webex Teams cloud.
121+
by the Webex Teams cloud.
122122
123123
Raises:
124124
TypeError: If the parameter types are incorrect.
@@ -159,7 +159,7 @@ def refresh(self, client_id, client_secret, refresh_token):
159159
160160
Returns:
161161
AccessToken: With the access token provided by the Webex Teams
162-
cloud.
162+
cloud.
163163
164164
Raises:
165165
TypeError: If the parameter types are incorrect.

webexteamssdk/api/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def list(self, resource=None, type=None, actorId=None, _from=None, to=None,
111111
112112
Returns:
113113
GeneratorContainer: A GeneratorContainer which, when iterated,
114-
yields the events returned by the Webex Teams query.
114+
yields the events returned by the Webex Teams query.
115115
116116
Raises:
117117
TypeError: If the parameter types are incorrect.

webexteamssdk/api/licenses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def list(self, orgId=None, max=None, **request_parameters):
9898
9999
Returns:
100100
GeneratorContainer: A GeneratorContainer which, when iterated,
101-
yields the licenses returned by the Webex Teams query.
101+
yields the licenses returned by the Webex Teams query.
102102
103103
Raises:
104104
TypeError: If the parameter types are incorrect.
@@ -129,7 +129,7 @@ def get(self, licenseId):
129129
130130
Returns:
131131
License: A License object with the details of the requested
132-
License.
132+
License.
133133
134134
Raises:
135135
TypeError: If the parameter types are incorrect.

webexteamssdk/api/memberships.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def list(self, roomId=None, personId=None, personEmail=None, max=None,
108108
109109
Returns:
110110
GeneratorContainer: A GeneratorContainer which, when iterated,
111-
yields the memberships returned by the Webex Teams query.
111+
yields the memberships returned by the Webex Teams query.
112112
113113
Raises:
114114
TypeError: If the parameter types are incorrect.
@@ -152,7 +152,7 @@ def create(self, roomId, personId=None, personEmail=None,
152152
153153
Returns:
154154
Membership: A Membership object with the details of the created
155-
membership.
155+
membership.
156156
157157
Raises:
158158
TypeError: If the parameter types are incorrect.
@@ -186,7 +186,7 @@ def get(self, membershipId):
186186
187187
Returns:
188188
Membership: A Membership object with the details of the requested
189-
membership.
189+
membership.
190190
191191
Raises:
192192
TypeError: If the parameter types are incorrect.
@@ -212,7 +212,7 @@ def update(self, membershipId, isModerator=None, **request_parameters):
212212
213213
Returns:
214214
Membership: A Membership object with the updated Webex Teams
215-
membership details.
215+
membership details.
216216
217217
Raises:
218218
TypeError: If the parameter types are incorrect.

webexteamssdk/api/messages.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def list(self, roomId, mentionedPeople=None, before=None,
105105
106106
Returns:
107107
GeneratorContainer: A GeneratorContainer which, when iterated,
108-
yields the messages returned by the Webex Teams query.
108+
yields the messages returned by the Webex Teams query.
109109
110110
Raises:
111111
TypeError: If the parameter types are incorrect.
@@ -152,7 +152,7 @@ def create(self, roomId=None, toPersonId=None, toPersonEmail=None,
152152
specified this parameter may be optionally used to provide
153153
alternate text for UI clients that do not support rich text.
154154
markdown(basestring): The message, in markdown format.
155-
files(list): A list of public URL(s) or local path(s) to files to
155+
files(`list`): A list of public URL(s) or local path(s) to files to
156156
be posted into the room. Only one file is allowed per message.
157157
**request_parameters: Additional request parameters (provides
158158
support for parameters that may be added in the future).
@@ -226,7 +226,7 @@ def get(self, messageId):
226226
227227
Returns:
228228
Message: A Message object with the details of the requested
229-
message.
229+
message.
230230
231231
Raises:
232232
TypeError: If the parameter types are incorrect.

webexteamssdk/api/organizations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def list(self, max=None, **request_parameters):
9191
9292
Returns:
9393
GeneratorContainer: A GeneratorContainer which, when iterated,
94-
yields the organizations returned by the Webex Teams query.
94+
yields the organizations returned by the Webex Teams query.
9595
9696
Raises:
9797
TypeError: If the parameter types are incorrect.
@@ -120,7 +120,7 @@ def get(self, orgId):
120120
121121
Returns:
122122
Organization: An Organization object with the details of the
123-
requested organization.
123+
requested organization.
124124
125125
Raises:
126126
TypeError: If the parameter types are incorrect.

0 commit comments

Comments
 (0)