diff --git a/doc/catalog.json b/doc/catalog.json index f04cb4241f037bf69c07aa0059257f047e6c3f2a..f1e5d9bf2bf4806b2cbb303fa8a725a13d983aaa 100644 --- a/doc/catalog.json +++ b/doc/catalog.json @@ -1,32 +1,10 @@ { - "bob.io.base": { - "versions": { - "latest": "https://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/sphinx" - }, - "sources": {} + "bob.io.base": { + "versions": { + "5.0.3b1": "https://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/sphinx/" }, - "dask-ml": { - "versions": { - "latest": "https://ml.dask.org" - }, - "sources": { - "readthedocs": "dask-ml" - } - }, - "scikit-learn": { - "versions": { - "latest": "https://scikit-learn.org/stable/" - }, - "sources": { - "readthedocs": "scikit-learn" - } - }, - "xarray": { - "versions": { - "latest": "https://docs.xarray.dev/en/stable/" - }, - "sources": { - "readthedocs": "xarray" - } + "sources": { + "environment": "bob.io.base" } + } } diff --git a/doc/datasets.rst b/doc/datasets.rst index 242086a8dc6d05ea8b8e8e2637100a529cbdba80..fbce62d4f81afcc50c4b9162bcb6cbe03999c71f 100644 --- a/doc/datasets.rst +++ b/doc/datasets.rst @@ -67,6 +67,7 @@ As you can see there is only one protocol called ``default`` and two groups >>> import bob.pipelines >>> dataset_protocols_path = "tests/data/iris_database" >>> database = bob.pipelines.FileListDatabase( + ... name="iris", ... protocol="default", ... dataset_protocols_path=dataset_protocols_path, ... ) @@ -100,6 +101,7 @@ to all samples: ... return [bob.pipelines.Sample(prepare_data(sample), parent=sample) for sample in samples] >>> database = bob.pipelines.FileListDatabase( + ... name="iris", ... protocol="default", ... dataset_protocols_path=dataset_protocols_path, ... transformer=FunctionTransformer(prepare_iris_samples),