Skip to content

Commit 2e07e3e

Browse files
committed
[Doc] Drop the trailing slash from directory paths in the documentation
Directory paths in prose were written inconsistently: `examples/` next to `examples/rails` in the README and on the Examples page, `app/tools/` next to `config/routes.rb`, and `rails/` in an examples README heading. The trailing slash carries no information in prose, so every directory path in user-facing markdown now follows the no-trailing-slash form.
1 parent f22ce86 commit 2e07e3e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ see [Client Transports](https://ruby.sdk.modelcontextprotocol.io/client/transpor
125125

126126
## Examples
127127

128-
Runnable examples are available in [`examples/`](https://github.com/modelcontextprotocol/ruby-sdk/tree/main/examples),
128+
Runnable examples are available in [`examples`](https://github.com/modelcontextprotocol/ruby-sdk/tree/main/examples),
129129
including a complete Rails application in [`examples/rails`](https://github.com/modelcontextprotocol/ruby-sdk/tree/main/examples/rails).
130130

131131
## Documentation

‎docs/examples.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permalink: /examples/
77

88
# Examples
99

10-
Runnable examples live in [`examples/`](https://github.com/modelcontextprotocol/ruby-sdk/tree/main/examples) in the repository.
10+
Runnable examples live in [`examples`](https://github.com/modelcontextprotocol/ruby-sdk/tree/main/examples) in the repository.
1111

1212
## Standalone Scripts
1313

@@ -30,7 +30,7 @@ See [`examples/README.md`](https://github.com/modelcontextprotocol/ruby-sdk/blob
3030

3131
[`examples/rails`](https://github.com/modelcontextprotocol/ruby-sdk/tree/main/examples/rails) is a complete, minimal
3232
Rails application serving an MCP server over the Streamable HTTP transport. The server and transport are built once
33-
at boot and mounted at `/mcp` in `config/routes.rb`; tools live in `app/tools/`, and a text resource is served through
33+
at boot and mounted at `/mcp` in `config/routes.rb`; tools live in `app/tools`, and a text resource is served through
3434
a `resources_read_handler`.
3535

3636
```console

‎examples/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ The client will:
141141
- Provide an interactive menu to trigger notifications
142142
- Display all received SSE events in real-time
143143

144-
### 7. Rails Server (`rails/`)
144+
### 7. Rails Server (`rails`)
145145

146146
A minimal Rails application that mounts `StreamableHTTPTransport` in its routes, following the "Rails (mount)" pattern from the top-level README.
147-
It demonstrates class-based tools in `app/tools/` and a resource with a read handler.
147+
It demonstrates class-based tools in `app/tools` and a resource with a read handler.
148148

149149
**Usage:**
150150

0 commit comments

Comments
 (0)