Skip to content

Commit 3f38327

Browse files
committed
doc: cleanup
1 parent 254deb1 commit 3f38327

File tree

8 files changed

+15
-10
lines changed

8 files changed

+15
-10
lines changed

doc/api/services/report_images.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ sasctl.services.report_images
33

44
.. automodule:: sasctl._services.report_images
55
:members:
6-
:undoc-members:
6+
:undoc-members:
7+
:show-inheritance:

doc/api/services/reports.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ sasctl.services.reports
44
.. automodule:: sasctl._services.reports
55
:members:
66
:undoc-members:
7+
:show-inheritance:

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"pytest": ("https://docs.pytest.org/en/latest/", None),
5656
"betamax": ("https://betamax.readthedocs.io/en/latest/", None),
5757
"requests": ("https://2.python-requests.org/en/master/", None),
58-
"tox": ("https://tox.readthedocs.io/en/latest/", None),
59-
"flake8": ("http://flake8.pycqa.org/en/latest/", None),
58+
"tox": ("https://tox.wiki/en/latest/objects.inv", None),
59+
"flake8": ("https://flake8.pycqa.org/en/latest/objects.inv", None),
6060
}
6161

6262
autosummary_generate = True

src/sasctl/_services/cas_management.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def list_sessions(cls, query_params: dict = None, server: str = None):
9393
Returns a collection of sessions available on the CAS server.
9494
9595
Parameters
96-
------
96+
----------
9797
query_params : dict, optional
9898
Query parameters.
9999
Valid keys are `start`, `limit`, `filter`,
@@ -129,7 +129,7 @@ def create_session(cls, properties: dict, server: str = None):
129129
"""Creates a new session on the CAS server.
130130
131131
Parameters
132-
------
132+
----------
133133
properties : dict
134134
Properties of the session.
135135
Valid keys are `authenticationType` (required),
@@ -164,7 +164,7 @@ def delete_session(
164164
"""Terminates a session on the CAS server.
165165
166166
Parameters
167-
------
167+
----------
168168
sess_id : str
169169
A string indicating the Session id.
170170
server : str

src/sasctl/_services/data_sources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_provider(cls, provider, refresh=False):
4040
A dictionary containing the provider attributes or None.
4141
4242
Notes
43-
-------
43+
-----
4444
If `provider` is a complete representation of the provider it will be
4545
returned unless `refresh` is set. This prevents unnecessary REST calls
4646
when data is already available on the client.

src/sasctl/_services/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def get_item(cls, item, refresh=False):
229229
A dictionary containing the {item} attributes or None.
230230
231231
Notes
232-
-------
232+
-----
233233
If `item` is a complete representation of the {item} it will be
234234
returned unless `refresh` is set. This prevents unnecessary REST
235235
calls when data is already available on the client.

src/sasctl/core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,7 @@ def request(verb, path, session=None, format="auto", **kwargs):
20322032
20332033
Returns
20342034
-------
2035-
2035+
str, bytes, or requests.Response
20362036
"""
20372037
session = session or current_session()
20382038

@@ -2111,10 +2111,11 @@ def request_link(obj, rel, **kwargs):
21112111
obj : dict
21122112
rel : str
21132113
kwargs : any
2114-
Passed to :function:`request`
2114+
Passed to :func:`request`
21152115
21162116
Returns
21172117
-------
2118+
RestObj
21182119
21192120
"""
21202121
link = get_link(obj, rel)

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ deps =
5858
# tests: lightgbm ; platform_system != "Darwin" # lightgmb seems to have build issues on MacOS
5959
# doc skips install, so explicitly add minimum packages
6060
doc: sphinx
61+
doc: numpydoc
62+
doc: pydata-sphinx-theme
6163
doc: pyyaml
6264

6365
setenv =

0 commit comments

Comments
 (0)