Skip to content

Commit a264a5c

Browse files
committed
Integrate revised docstrings in the spyder.api.shellconnect module (spyder-ide#19)
1 parent d21a8c5 commit a264a5c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118
# pylint: disable-next = line-too-long
119119
"spyder.(app|config|fonts|images|locale|plugins|tests|utils|widgets|windows).*", # noqa: E501
120120
),
121+
# Private APIs
122+
("py:class", "spyder.api.widgets.comboboxes._SpyderComboBoxMixin"),
121123
# Numpydoc optional
122124
("py:class", "optional"),
123125
# Typing params
@@ -137,6 +139,8 @@
137139
("py:class", "spyder.api.preferences.OptionSet"),
138140
("py:class", "SpyderPluginClass"),
139141
("py:class", "spyder.api.plugin_registration.registry.SpyderPluginClass"),
142+
("py:class", "ToolbarItem"),
143+
("py:class", "spyder.api.widgets.toolbars.ToolbarItem"),
140144
}
141145

142146

@@ -307,6 +311,8 @@
307311
"SpyderPluginClass": (
308312
"spyder.api.plugin_registration.registry.SpyderPluginClass"
309313
),
314+
"ToolbarItem": "spyder.api.widgets.toolbars.ToolbarItem",
315+
"ToolbarItemEntry": "spyder.api.widgets.toolbars.ToolbarItemEntry",
310316
# Ref name aliases
311317
"AbstractEventLoop": "asyncio.AbstractEventLoop",
312318
"asyncio.AbstractEventLoop": "asyncio.AbstractEventLoop",

noxfile.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ def construct_sphinx_invocation(
164164
builder = builders[-1] if builders else builder
165165
build_dir = BUILD_DIR / builder if build_dir is None else build_dir
166166

167-
if "autodoc" in cli_options:
168-
build_options = [item for item in build_options if item != "-n"]
169-
170167
if CI:
171168
build_options = list(build_options) + ["--color"]
172169

0 commit comments

Comments
 (0)