diff --git a/generated/routes.json b/generated/routes.json index 3549c7e8..81970d7e 100644 --- a/generated/routes.json +++ b/generated/routes.json @@ -93,7 +93,7 @@ }, "/getting-started/advanced-config/private-ca": { "relPath": "/getting-started/advanced-config/private-ca.md", - "lastmod": "2025-03-12T14:59:41.000Z" + "lastmod": "2026-06-02T22:54:32.000Z" }, "/api-reference": { "relPath": "/api-reference/index.md", @@ -105,11 +105,11 @@ }, "/api-reference/kubernetes/management-api-reference": { "relPath": "/api-reference/kubernetes/management-api-reference.md", - "lastmod": "2026-05-26T01:35:03.000Z" + "lastmod": "2026-06-10T12:45:04.000Z" }, "/api-reference/kubernetes/agent-api-reference": { "relPath": "/api-reference/kubernetes/agent-api-reference.md", - "lastmod": "2026-05-26T01:35:03.000Z" + "lastmod": "2026-06-10T12:45:04.000Z" }, "/api-reference/graphql": { "relPath": "/api-reference/graphql.md", @@ -153,11 +153,11 @@ }, "/plural-features/continuous-deployment/service-templating": { "relPath": "/plural-features/continuous-deployment/service-templating/index.md", - "lastmod": "2026-05-27T14:33:34.869Z" + "lastmod": "2026-06-11T11:13:44.082Z" }, "/plural-features/continuous-deployment/service-templating/supporting-liquid-filters": { "relPath": "/plural-features/continuous-deployment/service-templating/supporting-liquid-filters.md", - "lastmod": "2026-05-27T14:33:34.891Z" + "lastmod": "2026-06-11T11:13:44.104Z" }, "/plural-features/continuous-deployment/lua": { "relPath": "/plural-features/continuous-deployment/lua.md", @@ -321,31 +321,31 @@ }, "/plural-features/workbenches": { "relPath": "/plural-features/workbenches/index.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/workbenches/configuration": { "relPath": "/plural-features/workbenches/configuration.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/workbenches/coding-agent": { "relPath": "/plural-features/workbenches/coding-agent.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/workbenches/tools": { "relPath": "/plural-features/workbenches/tools.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/workbenches/running-jobs": { "relPath": "/plural-features/workbenches/running-jobs.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/workbenches/automation": { "relPath": "/plural-features/workbenches/automation.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/workbenches/use-cases": { "relPath": "/plural-features/workbenches/use-cases.md", - "lastmod": "2026-05-27T14:33:27.000Z" + "lastmod": "2026-05-27T21:33:58.000Z" }, "/plural-features/observability": { "relPath": "/plural-features/observability/index.md", @@ -533,7 +533,7 @@ }, "/deployments/private-ca": { "relPath": "/getting-started/advanced-config/private-ca.md", - "lastmod": "2025-03-12T14:59:41.000Z" + "lastmod": "2026-06-02T22:54:32.000Z" }, "/deployments/operator/architecture": { "relPath": "/plural-features/continuous-deployment/deployment-operator.md", @@ -661,10 +661,10 @@ }, "/management-api-reference": { "relPath": "/api-reference/kubernetes/management-api-reference.md", - "lastmod": "2026-05-26T01:35:03.000Z" + "lastmod": "2026-06-10T12:45:04.000Z" }, "/agent-api-reference": { "relPath": "/api-reference/kubernetes/agent-api-reference.md", - "lastmod": "2026-05-26T01:35:03.000Z" + "lastmod": "2026-06-10T12:45:04.000Z" } } \ No newline at end of file diff --git a/src/components/RestApiReference/index.tsx b/src/components/RestApiReference/index.tsx index 167cdb8b..73004102 100644 --- a/src/components/RestApiReference/index.tsx +++ b/src/components/RestApiReference/index.tsx @@ -9,6 +9,9 @@ import { useMemo, useState } from 'react' import { Breadcrumbs, CheckIcon, CopyIcon, Tab } from '@pluralsh/design-system' import { useRouter } from 'next/router' +import styled from 'styled-components' + +import { mqs } from '@src/components/Breakpoints' import { PageDivider } from '@src/components/MainContent' import { ContentContainer, @@ -43,6 +46,13 @@ import type { Parameter, } from '@src/lib/openapi-rest' +// REST API has no right TOC column; SideNavContainer's auto margin is for centering regular docs. +const RestSideNavContainer = styled(SideNavContainer)({ + [mqs.twoColumn]: { + marginRight: 0, + }, +}) + type TabId = 'query' | 'responses' export type RestApiReferenceProps = { @@ -94,12 +104,12 @@ export function RestApiReference({ return ( - + - +