Skip to content

Commit b84536a

Browse files
authored
Fix documentation building (#1217)
* Fix documentation building * Fix numpy version * Fix two links
1 parent bbf09b3 commit b84536a

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

.github/workflows/docs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
- name: Install dependencies
1414
run: |
1515
pip install -e .[docs,examples,examples_unix]
16+
# dependency "fanova" does not work with numpy 1.24 or later
17+
# https://github.com/automl/fanova/issues/108
18+
pip install numpy==1.23.5
1619
- name: Make docs
1720
run: |
1821
cd doc

doc/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ In particular, a few ways to contribute to openml-python are:
2323

2424
* `Cite OpenML <https://www.openml.org/cite>`_ if you use it in a scientific publication.
2525

26-
* Visit one of our `hackathons <https://meet.openml.org/>`_.
26+
* Visit one of our `hackathons <https://www.openml.org/meet>`_.
2727

2828
* Contribute to another OpenML project, such as `the main OpenML project <https://github.com/openml/OpenML/blob/master/CONTRIBUTING.md>`_.

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Example
4040
run.publish()
4141
print(f'View the run online: {run.openml_url}')
4242
43-
You can find more examples in our :ref:`sphx_glr_examples`.
43+
You can find more examples in our :ref:`examples-index`.
4444

4545
----------------------------
4646
How to get OpenML for python
@@ -60,7 +60,7 @@ Content
6060

6161
* :ref:`usage`
6262
* :ref:`api`
63-
* :ref:`sphx_glr_examples`
63+
* :ref:`examples-index`
6464
* :ref:`extensions`
6565
* :ref:`contributing`
6666
* :ref:`progress`

examples/30_extended/fetch_evaluations_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ def plot_cdf(values, metric="predictive_accuracy"):
9090
plt.title("CDF")
9191
plt.xlabel(metric)
9292
plt.ylabel("Likelihood")
93-
plt.grid(b=True, which="major", linestyle="-")
93+
plt.grid(visible=True, which="major", linestyle="-")
9494
plt.minorticks_on()
95-
plt.grid(b=True, which="minor", linestyle="--")
95+
plt.grid(visible=True, which="minor", linestyle="--")
9696
plt.axvline(max_val, linestyle="--", color="gray")
9797
plt.text(max_val, 0, "%.3f" % max_val, fontsize=9)
9898
plt.show()

examples/30_extended/fetch_runtimes_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def get_incumbent_trace(trace):
408408
################################################################################
409409
# Running a Neural Network from scikit-learn that uses scikit-learn independent
410410
# parallelism using libraries such as `MKL, OpenBLAS or BLIS
411-
# <https://scikit-learn.org/stable/computing/parallelism.html#parallel-numpy-routines-from-numerical-libraries>`_.
411+
# <https://scikit-learn.org/stable/computing/parallelism.html#parallel-numpy-and-scipy-routines-from-numerical-libraries>`_.
412412

413413
mlp = MLPClassifier(max_iter=10)
414414

examples/README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _examples-index:
2+
13
================
24
Examples Gallery
35
================

0 commit comments

Comments
 (0)