Skip to content

Commit b004990

Browse files
committed
fix: update documentation navigation to include MCP Servers section
1 parent 042fadb commit b004990

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/prompts/agentic-merge-upstream.prompt.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,11 @@ For each change in the upstream diff, determine:
8080
| `dotnet/src/Generated/*.cs` | `src/main/java/com/github/copilot/sdk/types/*.java` |
8181
| `dotnet/test/*.cs` | `src/test/java/com/github/copilot/sdk/*Test.java` |
8282
| `docs/getting-started.md` | `README.md` and `src/site/markdown/*.md` |
83+
| `docs/*.md` (new files) | `src/site/markdown/*.md` + update `src/site/site.xml` |
8384
| `sdk-protocol-version.json` | (embedded in Java code or resource file) |
8485

86+
> **⚠️ Important:** When adding new documentation pages, always update `src/site/site.xml` to include them in the navigation menu.
87+
8588
## Step 5: Apply Changes to Java SDK
8689

8790
When porting changes:
@@ -208,6 +211,7 @@ Before finishing:
208211
- [ ] `mvn test` passes
209212
- [ ] `mvn package` builds successfully
210213
- [ ] Documentation updated
214+
- [ ] `src/site/site.xml` updated if new documentation pages were added
211215
- [ ] `.lastmerge` file updated with new commit hash
212216
- [ ] Changes left uncommitted for review
213217

src/site/site.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
<menu name="Overview">
139139
<item name="Introduction" href="index.html"/>
140140
<item name="Documentation" href="documentation.html"/>
141+
<item name="MCP Servers" href="mcp.html"/>
141142
</menu>
142143

143144
<menu name="Documentation">
@@ -157,6 +158,7 @@
157158
<item name="Bring Your Own Key (BYOK)" href="documentation.html#Bring_Your_Own_Key_.28BYOK.29"/>
158159
<item name="Permission Handling" href="documentation.html#Permission_Handling"/>
159160
<item name="Infinite Sessions" href="documentation.html#Infinite_Sessions"/>
161+
<item name="MCP Servers" href="documentation.html#MCP_Servers"/>
160162
</item>
161163
<item name="Error Handling" href="documentation.html#Error_Handling"/>
162164
</menu>

0 commit comments

Comments
 (0)