Skip to content

Commit 08867f1

Browse files
mfeurerPGijsbers
authored andcommitted
Change sphinx autodoc syntax (openml#1044)
* change sphinx autodoc syntax * add minimal sphinx version for doc building
1 parent ec44f87 commit 08867f1

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
autosummary_generate = True
5050
numpydoc_show_class_members = False
5151

52-
autodoc_default_flags = ["members", "inherited-members"]
52+
autodoc_default_options = {"members": True, "inherited-members": True}
5353

5454
# Add any paths that contain templates here, relative to this directory.
5555
templates_path = ["_templates"]

doc/progress.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
Changelog
77
=========
88

9-
0.11.1
9+
0.12.1
10+
~~~~~~
11+
12+
* FIX #1035: Render class attributes and methods again.
13+
14+
0.12.0
1015
~~~~~~
1116
* ADD #964: Validate ``ignore_attribute``, ``default_target_attribute``, ``row_id_attribute`` are set to attributes that exist on the dataset when calling ``create_dataset``.
1217
* ADD #979: Dataset features and qualities are now also cached in pickle format.

openml/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# License: BSD 3-Clause
44

55
# The following line *must* be the last in the module, exactly as formatted:
6-
__version__ = "0.12.0"
6+
__version__ = "0.12.1dev"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"seaborn",
8585
],
8686
"examples_unix": ["fanova"],
87-
"docs": ["sphinx", "sphinx-gallery", "sphinx_bootstrap_theme", "numpydoc"],
87+
"docs": ["sphinx>=3", "sphinx-gallery", "sphinx_bootstrap_theme", "numpydoc",],
8888
},
8989
test_suite="pytest",
9090
classifiers=[

0 commit comments

Comments
 (0)