-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group system IP pools endpoints under their own tag (#6492)
This is entirely out of hand 😄 (and getting worse). Note that this requires a small docs site change to make the tag name nice: ```diff diff --git a/app/routes/api.tsx b/app/routes/api.tsx index eef6505..bc0d3e8 100644 --- a/app/routes/api.tsx +++ b/app/routes/api.tsx @@ -136,7 +136,11 @@ const MethodLink = ({ method }: { method: MethodLite }) => ( </SidebarLinks.Item> ) -const tagMap: Record<string, string> = { vpcs: 'VPCs', 'floating-ips': 'Floating IPs' } +const tagMap: Record<string, string> = { + vpcs: 'VPCs', + 'floating-ips': 'Floating IPs', + 'system/ip-pools': 'IP Pools', +} function mapTitle(label: string) { return tagMap[label] || titleCase(label.replace('system/', '')) ``` | Before | After | | --- | --- | | <img width="282" alt="image" src="https://github.com/user-attachments/assets/f38eeb33-61ce-4119-bd1e-e8ad1ee2fd60"> | <img width="268" alt="image" src="https://github.com/user-attachments/assets/e1e801b5-dae8-4b27-9449-fdf189a786b0"> |
- Loading branch information
1 parent
6eafad8
commit 03e2dde
Showing
5 changed files
with
58 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters