diff --git a/baybe/constraints/continuous.py b/baybe/constraints/continuous.py index d5d5be47e7..91fa4c17e7 100644 --- a/baybe/constraints/continuous.py +++ b/baybe/constraints/continuous.py @@ -103,7 +103,7 @@ def to_botorch( """Cast the constraint in a format required by botorch. Used in calling ``optimize_acqf_*`` functions, for details see - https://botorch.org/api/optim.html#botorch.optim.optimize.optimize_acqf + :func:`botorch.optim.optimize.optimize_acqf` Args: parameters: The parameter objects of the continuous space. diff --git a/docs/conf.py b/docs/conf.py index 62326b973d..2a7ebcc123 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -247,6 +247,7 @@ # Mappings to all external packages that we want to have clickable links to intersphinx_mapping = { + "botorch": ("https://botorch.readthedocs.io/en/latest", None), "python": ("https://docs.python.org/3", None), "pandas": ("https://pandas.pydata.org/docs/", None), "polars": ("https://docs.pola.rs/api/python/stable/", None), @@ -256,7 +257,7 @@ "numpy": ("https://numpy.org/doc/stable/", None), "torch": ("https://pytorch.org/docs/main/", None), "rdkit": ("https://rdkit.org/docs/", None), - "shap": ("https://shap.readthedocs.io/en/latest/", None), + "shap": ("https://shap.readthedocs.io/en/stable/", None), } # --- Options for autodoc typehints and autodoc ------------------------------- diff --git a/examples/Transfer_Learning/backtesting.py b/examples/Transfer_Learning/backtesting.py index 3d4bca784e..8f1c6d9745 100644 --- a/examples/Transfer_Learning/backtesting.py +++ b/examples/Transfer_Learning/backtesting.py @@ -49,7 +49,7 @@ ### Creating the Search Space -# This example uses the [Hartmann Function](https://botorch.org/api/test_functions.html#botorch.test_functions.synthetic.Hartmann) +# This example uses the [Hartmann Function](botorch.test_functions.synthetic.Hartmann) # as implemented by `botorch`. # The bounds of the search space are dictated by the test function and can be extracted # from the function itself.