Skip to content

Commit 281d47a

Browse files
Fix documentation warnings, add navigation to all pages
1 parent 86ddb6a commit 281d47a

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

ciscosparkapi/api/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def create(self, roomId=None, toPersonId=None, toPersonEmail=None,
137137
specified this parameter may be optionally used to provide
138138
alternate text for UI clients that do not support rich text.
139139
markdown(basestring): The message, in markdown format.
140-
files(list): A list of public URL(s) or local path(s) to files to
140+
files(`list`): A list of public URL(s) or local path(s) to files to
141141
be posted into the room. Only one file is allowed per message.
142142
Uploaded files are automatically converted into a format that
143143
all Spark clients can render.

ciscosparkapi/api/people.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,16 @@ def create(self, emails, displayName=None, firstName=None, lastName=None,
123123
Only an admin can create a new user account.
124124
125125
Args:
126-
emails(list): Email address(es) of the person (list of strings).
126+
emails(`list`): Email address(es) of the person (list of strings).
127127
displayName(basestring): Full name of the person.
128128
firstName(basestring): First name of the person.
129129
lastName(basestring): Last name of the person.
130130
avatar(basestring): URL to the person's avatar in PNG format.
131131
orgId(basestring): ID of the organization to which this
132132
person belongs.
133-
roles(list): Roles of the person (list of strings containing
133+
roles(`list`): Roles of the person (list of strings containing
134134
the role IDs to be assigned to the person).
135-
licenses(list): Licenses allocated to the person (list of
135+
licenses(`list`): Licenses allocated to the person (list of
136136
strings - containing the license IDs to be allocated to the
137137
person).
138138
**request_parameters: Additional request parameters (provides
@@ -211,16 +211,16 @@ def update(self, personId, emails=None, displayName=None, firstName=None,
211211
212212
Args:
213213
personId(basestring): The person ID.
214-
emails(list): Email address(es) of the person (list of strings).
214+
emails(`list`): Email address(es) of the person (list of strings).
215215
displayName(basestring): Full name of the person.
216216
firstName(basestring): First name of the person.
217217
lastName(basestring): Last name of the person.
218218
avatar(basestring): URL to the person's avatar in PNG format.
219219
orgId(basestring): ID of the organization to which this
220220
person belongs.
221-
roles(list): Roles of the person (list of strings containing
221+
roles(`list`): Roles of the person (list of strings containing
222222
the role IDs to be assigned to the person).
223-
licenses(list): Licenses allocated to the person (list of
223+
licenses(`list`): Licenses allocated to the person (list of
224224
strings - containing the license IDs to be allocated to the
225225
person).
226226
**request_parameters: Additional request parameters (provides

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ What is Cisco Spark?
5454
--------------------
5555

5656
"Cisco Spark is where all your work lives. Bring your teams together in a
57-
place that makes it easy to keep people and work connected."
57+
place that makes it easy to keep people and work connected."
5858

5959
Check out the official `Cisco Spark`_ website for more information and to
6060
create a free account!

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:: ciscosparkapi.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
**Cisco Spark APIs in native Python**!
137137

138138

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

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

0 commit comments

Comments
 (0)