Skip to content

Commit

Permalink
Add CI for checking markdown format.
Browse files Browse the repository at this point in the history
Signed-off-by: ChenYing Kuo <[email protected]>
  • Loading branch information
evshary committed Dec 12, 2024
1 parent cc201aa commit fde8a3e
Show file tree
Hide file tree
Showing 37 changed files with 30 additions and 74 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,16 @@ jobs:

- name: Check spelling
uses: crate-ci/typos@master

markdown_lint:
runs-on: ubuntu-latest
steps:
- uses: articulate/actions-markdownlint@v1
with:
config: .markdownlint.yaml
files: '*.md'
ignore: target
version: 0.28.1

# NOTE: In GitHub repository settings, the "Require status checks to pass
# before merging" branch protection rule ensures that commits are only merged
Expand Down
6 changes: 6 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"MD013": false, # Line length limitation
"MD033": false, # Enable Inline HTML
"MD041": false, # Allow first line heading
"MD045": false, # Allow Images have no alternate text
}
2 changes: 0 additions & 2 deletions commons/zenoh-buffers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-codec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-collections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-crypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-keyexpr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-result/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-shm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-task/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions commons/zenoh-util/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-link-commons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-quic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-serial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-tcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-tls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-udp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-unixpipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-unixsock_stream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-vsock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-links/zenoh-link-ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions io/zenoh-transport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions plugins/zenoh-backend-traits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions plugins/zenoh-plugin-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions plugins/zenoh-plugin-rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions plugins/zenoh-plugin-storage-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions plugins/zenoh-plugin-trait/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


2 changes: 0 additions & 2 deletions zenoh-ext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ This crate is intended for Zenoh's internal use.

- [Click here for Zenoh's main repository](https://github.com/eclipse-zenoh/zenoh)
- [Click here for Zenoh's documentation](https://zenoh.io)


20 changes: 14 additions & 6 deletions zenoh-ext/examples/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Start instructions

When zenoh is built in release mode:

```bash
./target/release/example/<example_name>
```
Expand All @@ -22,12 +23,15 @@
or retransmission.

Typical usage:

```bash
z_advanced_pub
z_advanced_pub
```

or

```bash
z_advanced_pub --history 10
z_advanced_pub --history 10
```

### z_advanced_sub
Expand All @@ -38,27 +42,31 @@
sample loss and ask for retransmission.

Typical usage:

```bash
z_advanced_sub
z_advanced_sub
```

### z_member

Group Management example: join a group and display the received group events (Join, Leave, LeaseExpired), as well as an updated group view.

Typical usage:

```bash
z_member
z_member
```

(start/stop several in parallel)

### z_view_size

Group Management example: join a group and wait for the group view to reach a configurable size (default: 3 members).

Typical usage:

```bash
z_view_size
z_view_size
```
(start/stop several in parallel)

(start/stop several in parallel)

0 comments on commit fde8a3e

Please sign in to comment.