Skip to content

Commit

Permalink
chore: Update all links from kedro.readthedocs to docs.kedro.org (#802)
Browse files Browse the repository at this point in the history
Update all links from kedro.readthedocs to docs.kedro.org

Signed-off-by: Merel Theisen <[email protected]>
  • Loading branch information
merelcht authored Aug 6, 2024
1 parent e9878ad commit b42e110
Show file tree
Hide file tree
Showing 48 changed files with 95 additions and 109 deletions.
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ We support a range of data descriptions, including CSV, Excel, Parquet, Feather,

These data descriptions are supported with the APIs of `pandas`, `spark`, `networkx`, `matplotlib`, `yaml` and more.

[The Data Catalog](https://kedro.readthedocs.io/en/stable/data/data_catalog.html) allows you to work with a range of file formats on local file systems, network file systems, cloud object stores, and Hadoop.
[The Data Catalog](https://docs.kedro.org/en/stable/data/data_catalog.html) allows you to work with a range of file formats on local file systems, network file systems, cloud object stores, and Hadoop.

Here is a full list of [supported data descriptions and APIs](https://docs.kedro.org/en/stable/kedro_datasets.html).

## How can I create my own `AbstractDataset` implementation?


Take a look at our [instructions on how to create your own `AbstractDataset` implementation](https://kedro.readthedocs.io/en/stable/extend_kedro/custom_datasets.html).
Take a look at our [instructions on how to create your own `AbstractDataset` implementation](https://docs.kedro.org/en/stable/data/how_to_create_a_custom_dataset.html).
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/api/api_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class APIDataset(AbstractDataset[None, requests.Response]):
"""``APIDataset`` loads/saves data from/to HTTP(S) APIs.
It uses the python requests library: https://requests.readthedocs.io/en/latest/
Example usage for the `YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
Example usage for the `YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -34,7 +33,7 @@ class APIDataset(AbstractDataset[None, requests.Response]):
year: 2000
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/dask/csv_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ class CSVDataset(AbstractDataset[dd.DataFrame, dd.DataFrame]):
https://docs.dask.org/en/latest/how-to/connect-to-remote-data.html
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -32,7 +31,7 @@ class CSVDataset(AbstractDataset[dd.DataFrame, dd.DataFrame]):
aws_secret_access_key: YOUR_SECRET
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/dask/parquet_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class ParquetDataset(AbstractDataset[dd.DataFrame, dd.DataFrame]):
https://docs.dask.org/en/latest/how-to/connect-to-remote-data.html
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -33,7 +32,7 @@ class ParquetDataset(AbstractDataset[dd.DataFrame, dd.DataFrame]):
aws_secret_access_key: YOUR_SECRET
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ class ManagedTableDataset(AbstractVersionedDataset):
setup your project for this dataset.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -178,7 +177,7 @@ class ManagedTableDataset(AbstractVersionedDataset):
dataframe_type: pandas
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/ibis/table_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ class TableDataset(AbstractDataset[ir.Table, ir.Table]):
"""``TableDataset`` loads/saves data from/to Ibis table expressions.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -42,7 +41,7 @@ class TableDataset(AbstractDataset[ir.Table, ir.Table]):
database: company.db
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/json/json_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class JSONDataset(AbstractVersionedDataset[Any, Any]):
filesystem (e.g.: local, S3, GCS). It uses native json to handle the JSON file.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -38,7 +37,7 @@ class JSONDataset(AbstractVersionedDataset[Any, Any]):
credentials: my_gcp_credentials
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/matlab/matlab_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class MatlabDataset(AbstractVersionedDataset[np.ndarray, np.ndarray]):
"""`MatlabDataSet` loads and saves data from/to a MATLAB file using scipy.io.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -38,7 +37,7 @@ class MatlabDataset(AbstractVersionedDataset[np.ndarray, np.ndarray]):
credentials: my_gcp_credentials
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/matplotlib/matplotlib_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class MatplotlibWriter(
image files to an underlying filesystem (e.g. local, S3, GCS).
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -42,7 +41,7 @@ class MatplotlibWriter(
format: png
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
5 changes: 2 additions & 3 deletions kedro-datasets/kedro_datasets/pandas/csv_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class CSVDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
filesystem (e.g.: local, S3, GCS). It uses pandas to handle the CSV file.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -52,7 +51,7 @@ class CSVDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
credentials: dev_s3
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/deltatable_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DeltaTableDataset(AbstractDataset):
matching partition and insert your data as new files.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand Down Expand Up @@ -58,7 +58,7 @@ class DeltaTableDataset(AbstractDataset):
mode: overwrite
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
10 changes: 4 additions & 6 deletions kedro-datasets/kedro_datasets/pandas/excel_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ class ExcelDataset(
filesystem (e.g.: local, S3, GCS). It uses pandas to handle the Excel file.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_:
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -56,7 +55,7 @@ class ExcelDataset(
filepath: data/01_raw/shuttles.xlsx
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand All @@ -76,8 +75,7 @@ class ExcelDataset(
keys are your sheet names.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog_yaml_examples.html>`_
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_
for a multi-sheet Excel file:
.. code-block:: yaml
Expand All @@ -89,7 +87,7 @@ class ExcelDataset(
sheet_name: [Sheet1, Sheet2, Sheet3]
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_
for a multi-sheet Excel file:
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/feather_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FeatherDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
for loading and saving csv files.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -48,7 +48,7 @@ class FeatherDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
credentials: dev_s3
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/gbq_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class GBQTableDataset(AbstractDataset[None, pd.DataFrame]):
It uses pandas-gbq to read and write from/to BigQuery table.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -44,7 +44,7 @@ class GBQTableDataset(AbstractDataset[None, pd.DataFrame]):
chunk_size: 100
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/generic_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GenericDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
appropriate type of read/write target on a best effort basis.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand Down Expand Up @@ -66,7 +66,7 @@ class GenericDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
format: sas7bdat
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/hdf_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class HDFDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
filesystem (e.g. local, S3, GCS). It uses pandas.HDFStore to handle the hdf file.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -38,7 +38,7 @@ class HDFDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
key: data
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/json_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class JSONDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
filesystem (e.g.: local, S3, GCS). It uses pandas to handle the json file.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -47,7 +47,7 @@ class JSONDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
lines: True
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
4 changes: 2 additions & 2 deletions kedro-datasets/kedro_datasets/pandas/parquet_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ParquetDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
filesystem (e.g.: local, S3, GCS). It uses pandas to handle the Parquet file.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand Down Expand Up @@ -58,7 +58,7 @@ class ParquetDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
partition_on: [name]
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
8 changes: 4 additions & 4 deletions kedro-datasets/kedro_datasets/pandas/sql_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class SQLTableDataset(AbstractDataset[pd.DataFrame, pd.DataFrame]):
symmetric.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand All @@ -132,7 +132,7 @@ class SQLTableDataset(AbstractDataset[pd.DataFrame, pd.DataFrame]):
pool_size: 10 # additional parameters
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down Expand Up @@ -317,7 +317,7 @@ class SQLQueryDataset(AbstractDataset[None, pd.DataFrame]):
To save data to a SQL server use ``SQLTableDataset``.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
`YAML API <https://docs.kedro.org/en/stable/data/\
data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
Expand Down Expand Up @@ -349,7 +349,7 @@ class SQLQueryDataset(AbstractDataset[None, pd.DataFrame]):
pool_size: 10 # additional parameters
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
2 changes: 1 addition & 1 deletion kedro-datasets/kedro_datasets/pandas/xml_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class XMLDataset(AbstractVersionedDataset[pd.DataFrame, pd.DataFrame]):
filesystem (e.g.: local, S3, GCS). It uses pandas to handle the XML file.
Example usage for the
`Python API <https://kedro.readthedocs.io/en/stable/data/\
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
Expand Down
Loading

0 comments on commit b42e110

Please sign in to comment.