Skip to content

docs: surface cost attribution a bit more + link to api#2590

Merged
Pierrci merged 5 commits into
mainfrom
docs/resource-groups-cost-attribution
Jun 26, 2026
Merged

docs: surface cost attribution a bit more + link to api#2590
Pierrci merged 5 commits into
mainfrom
docs/resource-groups-cost-attribution

Conversation

@Pierrci

@Pierrci Pierrci commented Jun 24, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Markdown-only documentation changes with no runtime or security impact.

Overview
Documentation-only updates to make resource group cost attribution easier to discover.

The enterprise resource groups overview now lists attributing costs to specific resource groups among admin capabilities. The security resource groups Cost attribution section adds a link to the OpenAPI docs for GET /api/organizations/{name}/billing/usage-by-resource-group so teams can pull per-group usage data programmatically.

Reviewed by Cursor Bugbot for commit 44966b3. Bugbot is set up for automated code reviews on this repo. Configure here.

Add cost attribution as an admin capability in the enterprise resource
groups overview, and link the usage-by-resource-group billing API
endpoint from the security resource groups page.
@Pierrci Pierrci changed the title docs: document cost attribution for resource groups docs: surface cost attribution a bit more + link to api Jun 24, 2026
Pierrci added 2 commits June 24, 2026 09:01
The raw {name} path-template parameter inside the markdown link was
parsed by the doc-builder prerenderer as a JS interpolation expression
("ReferenceError: name is not defined"), failing the docs build. Encode
the braces as %7B/%7D, matching the convention used for other OpenAPI
orgs-tag links in the repo.
The markdown link's {name} path parameter reached the Svelte prerenderer
verbatim ("ReferenceError: name is not defined" in _page.svelte.js),
aborting the docs build. URL-encoding (%7B/%7D) didn't help because
mdsvex normalizes the href before Svelte sees it. Switch to a raw <a>
tag with HTML-encoded braces (&#123;name&#125;), matching the existing
convention in programmatic-user-access-control.md for OpenAPI orgs links.
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Pierrci
Pierrci merged commit d3e7ae0 into main Jun 26, 2026
3 checks passed
@Pierrci
Pierrci deleted the docs/resource-groups-cost-attribution branch June 26, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants