Skip to content

Commit 881a92a

Browse files
authored
chore: Update Gemini.md rules to match existing style guide (googleapis#2982)
Removed the requirement for the title to end with 'Tool'.
1 parent 649d4ad commit 881a92a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

DEVELOPER.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ When adding or updating a Source page, your markdown file must strictly adhere t
530530
When adding or updating a Tool page, your markdown file must strictly adhere to the following architectural rules:
531531
532532
* **Location:** Native tools must be placed inside a nested `tools/` directory.
533-
* **Frontmatter:** The `title` field must end with the word "Tool" (e.g., `title: "execute-sql Tool"`).
534533
* **No H1 Headings:** Do not use H1 (`#`) tags in the markdown body. The page title is automatically generated from the frontmatter.
535534
* **H2 Heading Hierarchy:** You must use H2 (`##`) headings in a strict, specific order.
536535
* **Required Headings:** `About`, `Example`

GEMINI.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,8 @@ When generating or editing documentation for this repository, you must strictly
201201
##### Tool Page Constraints (`integrations/**/tools/*.md`)
202202

203203
1. **Location:** All native tools must reside inside a nested `tools/` subdirectory. The `tools/` directory must contain an `_index.md` file consisting **strictly of frontmatter**.
204-
2. **Title Convention:** The YAML frontmatter `title` must always end with "Tool" (e.g., `title: "Execute SQL Tool"`).
205-
3. **No H1 Tags:** Never generate H1 (`#`) headings in the markdown body.
206-
4. **Strict H2 Ordering:** You must use the following H2 (`##`) headings in this exact sequence.
204+
2. **No H1 Tags:** Never generate H1 (`#`) headings in the markdown body.
205+
3. **Strict H2 Ordering:** You must use the following H2 (`##`) headings in this exact sequence.
207206
* `## About` (Required)
208207
* `## Compatible Sources` (Optional)
209208
* `## Requirements` (Optional)
@@ -214,7 +213,7 @@ When generating or editing documentation for this repository, you must strictly
214213
* `## Advanced Usage` (Optional)
215214
* `## Troubleshooting` (Optional)
216215
* `## Additional Resources` (Optional)
217-
5. **Shortcode Placement:** If you generate the `## Compatible Sources` section, you must include the `{{< compatible-sources >}}` shortcode beneath it.
216+
4. **Shortcode Placement:** If you generate the `## Compatible Sources` section, you must include the `{{< compatible-sources >}}` shortcode beneath it.
218217

219218
##### Samples Architecture Constraints
220219
Sample code is aggregated visually in the UI via the Samples section, but the physical markdown files are distributed logically based on their scope.

0 commit comments

Comments
 (0)