Skip to content

Commit 4e99661

Browse files
authored
fix links in examples (#1176)
1 parent 9887565 commit 4e99661

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

docs/docs/core/flow_methods.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ A data source may enable one or multiple *change capture mechanisms*:
210210
* Configured with a [refresh interval](flow_def#refresh-interval), which is generally applicable to all data sources.
211211

212212
* Specific data sources also provide their specific change capture mechanisms.
213-
For example, [`Postgres` source](../sources/#postgres) listens to PostgreSQL's change notifications, [`AmazonS3` source](../sources/#amazons3) watches S3 bucket's change events, and [`GoogleDrive` source](../sources#googledrive) allows polling recent modified files.
213+
For example, [`Postgres` source](../sources/postgres) listens to PostgreSQL's change notifications, [`AmazonS3` source](../sources/amazons3) watches S3 bucket's change events, and [`GoogleDrive` source](../sources/googledrive) allows polling recent modified files.
214214
See documentations for specific data sources.
215215

216216
Change capture mechanisms enable CocoIndex to continuously capture changes from the source data and update the target data accordingly, under live update mode.

docs/docs/examples/examples/image_search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def image_object_embedding_flow(flow_builder, data_scope):
6666

6767
The `add_source` function sets up a table with fields like `filename` and `content`. Images are automatically re-scanned every minute.
6868

69-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources#localfile" text="LocalFile" />
69+
<DocumentationButton url="https://cocoindex.io/docs/ops/sources/localfile" text="LocalFile" />
7070

7171

7272
## Process Each Image and Collect the Embedding

docs/docs/examples/examples/multi_format_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ data_scope["documents"] = flow_builder.add_source(
5252
cocoindex.sources.LocalFile(path="source_files", binary=True)
5353
)
5454
```
55-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources#localfile" text="LocalFile" margin="0 0 16px 0" />
55+
<DocumentationButton url="https://cocoindex.io/docs/ops/sources/localfile" text="LocalFile" margin="0 0 16px 0" />
5656

5757

5858
## Convert Files to Pages

docs/docs/examples/examples/photo_search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def face_recognition_flow(flow_builder, data_scope):
6565
This creates a table with `filename` and `content` fields. 📂
6666

6767

68-
You can connect it to your [S3 Buckets](https://cocoindex.io/docs/ops/sources#amazons3) (with SQS integration, [example](https://cocoindex.io/blogs/s3-incremental-etl))
69-
or [Azure Blob store](https://cocoindex.io/docs/ops/sources#azureblob).
68+
You can connect it to your [S3 Buckets](https://cocoindex.io/docs/ops/sources/amazons3) (with SQS integration, [example](https://cocoindex.io/blogs/s3-incremental-etl))
69+
or [Azure Blob store](https://cocoindex.io/docs/ops/sources/azureblob).
7070

7171
## Detect and Extract Faces
7272

docs/docs/examples/examples/postgres_source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CocoIndex incrementally sync data from Postgres. When new or updated rows are fo
5959
- `notification` enables change capture based on Postgres LISTEN/NOTIFY. Each change triggers an incremental processing on the specific row immediately.
6060
- Regardless if `notification` is provided or not, CocoIndex still needs to scan the full table to detect changes in some scenarios (e.g. between two `update` invocation), and the `ordinal_column` provides a field that CocoIndex can use to quickly detect which row has changed without reading value columns.
6161

62-
Check [Postgres source](https://cocoindex.io/docs/ops/sources#postgres) for more details.
62+
Check [Postgres source](https://cocoindex.io/docs/ops/sources/postgres) for more details.
6363

6464
If you use the Postgres database hosted by Supabase, please click Connect on your project dashboard and find the URL there. Check [DatabaseConnectionSpec](https://cocoindex.io/docs/core/settings#databaseconnectionspec)
6565
for more details.

examples/amazon_s3_embedding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Before running the example, you need to:
99
1. [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres) if you don't have one.
1010

1111
2. Prepare for Amazon S3.
12-
See [Setup for AWS S3](https://cocoindex.io/docs/ops/sources#setup-for-amazon-s3) for more details.
12+
See [Setup for AWS S3](https://cocoindex.io/docs/sources/amazons3#setup-for-amazon-s3) for more details.
1313

1414
3. Create a `.env` file with your Amazon S3 bucket name and (optionally) prefix.
1515
Start from copying the `.env.example`, and then edit it to fill in your bucket name and prefix.

examples/azure_blob_embedding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Before running the example, you need to:
99
1. [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres) if you don't have one.
1010

1111
2. Prepare for Azure Blob Storage.
12-
See [Setup for Azure Blob Storage](https://cocoindex.io/docs/ops/sources#setup-for-azure-blob-storage) for more details.
12+
See [Setup for Azure Blob Storage](https://cocoindex.io/docs/sources/azureblob#setup-for-azure-blob-storage) for more details.
1313

1414
3. Create a `.env` file with your Azure Blob Storage container name and (optionally) prefix.
1515
Start from copying the `.env.example`, and then edit it to fill in your bucket name and prefix.

examples/gdrive_text_embedding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Before running the example, you need to:
3030
- Setup a service account in Google Cloud, and download the credential file.
3131
- Share folders containing files you want to import with the service account's email address.
3232

33-
See [Setup for Google Drive](https://cocoindex.io/docs/ops/sources#setup-for-google-drive) for more details.
33+
See [Setup for Google Drive](https://cocoindex.io/docs/sources/googledrive#setup-for-google-drive) for more details.
3434

3535
3. Create `.env` file with your credential file and folder IDs.
3636
Starting from copying the `.env.example`, and then edit it to fill in your credential file path and folder IDs.

0 commit comments

Comments
 (0)