Skip to content

Commit 9ff9885

Browse files
committed
docs: Adjust weight values for protoc-gen-route and protoc-gen-sphere, and add layout option to sphere-cli create command
1 parent e777d4c commit 9ff9885

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

content/docs/components/protoc-gen-route.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: protoc-gen-route
3-
weight: 33
3+
weight: 32
44
---
55

66
`protoc-gen-route` is a protoc plugin that generates routing code from `.proto` files. It is designed to inspect service definitions within your protobuf files and automatically generate corresponding route handlers based on a specified template. This plugin creates Go code that provides structured routing with operation constants, extra data handling, server interfaces, and codec interfaces for seamless integration with various transport protocols.

content/docs/components/protoc-gen-sphere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: protoc-gen-sphere
3-
weight: 32
3+
weight: 33
44
---
55

66
Generates HTTP server code from `.proto` service definitions, using `google.api.http` annotations and Sphere server utilities (Gin-based).

content/docs/components/sphere-cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ Initializes a new Sphere project with a default template.
3737

3838
**Usage:**
3939
```shell
40-
sphere-cli create --name <project-name> [--module <go-module-name>]
40+
sphere-cli create --name <project-name> [--module <go-module-name>] [--layout <template-uri>]
4141
```
4242

4343
**Flags:**
4444
- `--name string`: (Required) The name for the new Sphere project.
4545
- `--module string`: (Optional) The Go module path for the project.
46+
- `--layout string`: (Optional) Custom template layout URI.
4647

4748
**Example:**
4849
```shell

0 commit comments

Comments
 (0)