Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
daleiz committed Jan 8, 2024
1 parent 850b635 commit 680937c
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions docs/develop/process/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ streams to get some useful information.
## Requirements

Ensure you have deployed HStreamDB successfully. The easiest way is to follow
[quickstart](../start/quickstart-with-docker.md) to start a local cluster. Of
[quickstart](../../start/quickstart-with-docker.md) to start a local cluster. Of
course, you can also try other methods mentioned in the Deployment part.

## Step 1: Create related streams
Expand Down Expand Up @@ -199,4 +199,4 @@ The result is updated right away.
## Related Pages

For a detailed introduction to the SQL, see
[HStream SQL](../reference/sql/sql-overview.md).
[HStream SQL](../../reference/sql/sql-overview.md).
8 changes: 4 additions & 4 deletions docs/develop/receive/consume.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ acknowledged one at a time, as shown in the example below.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/ConsumeDataSimpleExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/ConsumeDataSimpleExample.java [Java]

<<< @/../examples/go/examples/ExampleConsumer.go [Go]
<<< @/../../examples/go/examples/ExampleConsumer.go [Go]

@snippet examples/py/snippets/guides.py common subscribe-records

Expand Down Expand Up @@ -81,9 +81,9 @@ that users would have consumers from different clients.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/ConsumeDataSharedExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/ConsumeDataSharedExample.java [Java]

<<< @/../examples/go/examples/ExampleConsumerGroup.go [Go]
<<< @/../../examples/go/examples/ExampleConsumerGroup.go [Go]

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/develop/receive/read.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ The name of a reader should also follow the format specified by the [guidelines]

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/ReadDataWithReaderExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/ReadDataWithReaderExample.java [Java]

<<< @/../examples/go/examples/ExampleReadDataWithReader.go [Go]
<<< @/../../examples/go/examples/ExampleReadDataWithReader.go [Go]

@snippet examples/py/snippets/guides.py common read-reader

Expand Down
12 changes: 6 additions & 6 deletions docs/develop/receive/subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ this:

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/CreateSubscriptionExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/CreateSubscriptionExample.java [Java]

<<< @/../examples/go/examples/ExampleCreateSubscription.go [Go]
<<< @/../../examples/go/examples/ExampleCreateSubscription.go [Go]

@snippet examples/py/snippets/guides.py common create-subscription

Expand All @@ -50,9 +50,9 @@ the deleted subscription.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/DeleteSubscriptionExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/DeleteSubscriptionExample.java [Java]

<<< @/../examples/go/examples/ExampleDeleteSubscription.go [Go]
<<< @/../../examples/go/examples/ExampleDeleteSubscription.go [Go]

@snippet examples/py/snippets/guides.py common delete-subscription

Expand All @@ -64,9 +64,9 @@ To list all subscriptions in HStream

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/ListSubscriptionsExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/ListSubscriptionsExample.java [Java]

<<< @/../examples/go/examples/ExampleListSubscriptions.go [Go]
<<< @/../../examples/go/examples/ExampleListSubscriptions.go [Go]

@snippet examples/py/snippets/guides.py common list-subscription

Expand Down
4 changes: 2 additions & 2 deletions docs/develop/write/shards.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ To list all the shards of one stream.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/ListShardsExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/ListShardsExample.java [Java]

<<< @/../examples/go/examples/ExampleListShards.go [Go]
<<< @/../../examples/go/examples/ExampleListShards.go [Go]

@snippet examples/py/snippets/guides.py common list-shards

Expand Down
14 changes: 7 additions & 7 deletions docs/develop/write/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requirements:
- Contain only the following characters: Letters `[A-Za-z]`, numbers `[0-9]`, underscores `_`

\*For the cases where the resource name is used as a part of a SQL statement,
such as in [HStream SQL Shell](../reference/cli.md#hstream-sql-shell), there
such as in [HStream SQL Shell](../../reference/cli.md#hstream-sql-shell), there
will be situations where the resource name cannot be parsed properly (such as
conflicts with Keywords etc.), enclose the resource name with double quotes `"`.

Expand Down Expand Up @@ -45,9 +45,9 @@ Create a stream before you write records or create a subscription.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/CreateStreamExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/CreateStreamExample.java [Java]

<<< @/../examples/go/examples/ExampleCreateStream.go [Go]
<<< @/../..//examples/go/examples/ExampleCreateStream.go [Go]

@snippet examples/py/snippets/guides.py common create-stream

Expand All @@ -69,9 +69,9 @@ stream.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/DeleteStreamExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/DeleteStreamExample.java [Java]

<<< @/../examples/go/examples/ExampleDeleteStream.go [Go]
<<< @/../../examples/go/examples/ExampleDeleteStream.go [Go]

@snippet examples/py/snippets/guides.py common delete-stream

Expand All @@ -83,9 +83,9 @@ To get all streams in HStreamDB:

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/ListStreamsExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/ListStreamsExample.java [Java]

<<< @/../examples/go/examples/ExampleListStreams.go [Go]
<<< @/../../examples/go/examples/ExampleListStreams.go [Go]

@snippet examples/py/snippets/guides.py common list-streams

Expand Down
12 changes: 6 additions & 6 deletions docs/develop/write/write.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ to the client. The record id is unique in the stream.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/WriteDataSimpleExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/WriteDataSimpleExample.java [Java]

<<< @/../examples/go/examples/ExampleWriteProducer.go [Go]
<<< @/../../examples/go/examples/ExampleWriteProducer.go [Go]

@snippet examples/py/snippets/guides.py common append-records

Expand All @@ -68,9 +68,9 @@ bytes in a BufferedProducer.

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/WriteDataBufferedExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/WriteDataBufferedExample.java [Java]

<<< @/../examples/go/examples/ExampleWriteBatchProducer.go [Go]
<<< @/../../examples/go/examples/ExampleWriteBatchProducer.go [Go]

@snippet examples/py/snippets/guides.py common buffered-append-records

Expand All @@ -91,8 +91,8 @@ You can easily write records with keys using the following example:

::: code-group

<<< @/../examples/java/app/src/main/java/docs/code/examples/WriteDataWithKeyExample.java [Java]
<<< @/../../examples/java/app/src/main/java/docs/code/examples/WriteDataWithKeyExample.java [Java]

<<< @/../examples/go/examples/ExampleWriteBatchProducerMultiKey.go [Go]
<<< @/../../examples/go/examples/ExampleWriteBatchProducerMultiKey.go [Go]

:::

0 comments on commit 680937c

Please sign in to comment.