fix: clean API docs before regen so the sidebar picks up new endpoints

This commit is contained in:
LukeGus
2026-08-19 15:44:30 -05:00
parent e17b21ff62
commit 8af4cbdec4
2 changed files with 101 additions and 0 deletions
+1
View File
@@ -450,6 +450,7 @@ jobs:
run: |
cp ../termix/openapi.json static/openapi.json
npm ci
npm run docusaurus clean-api-docs termix
npm run docusaurus gen-api-docs termix
- name: Commit and push docs branch
+100
View File
@@ -123,6 +123,106 @@ const swaggerOptions: SwaggerJSDocOptions = {
name: "File Manager",
description: "SSH file management operations",
},
{
name: "SSH",
description: "SSH host management and configuration",
},
{
name: "Host Enrollment",
description: "Host enrollment and onboarding",
},
{
name: "Fleets",
description: "Fleet grouping, membership, and inventory",
},
{
name: "Workspaces",
description: "Saved tab and split layouts",
},
{
name: "Open Tabs",
description: "Per-user open tab state",
},
{
name: "Automations",
description: "Scheduled and triggered automations",
},
{
name: "Guacamole",
description: "RDP, VNC, and Telnet remote desktop sessions",
},
{
name: "Proxmox",
description: "Proxmox host integration",
},
{
name: "Proxmox Stats",
description: "Proxmox node and VM statistics",
},
{
name: "Session Sharing",
description: "Live terminal session collaboration",
},
{
name: "Session Logs",
description: "Session recording and playback",
},
{
name: "Homepage",
description: "Homepage service links and layout",
},
{
name: "Audit",
description: "Audit log querying and export",
},
{
name: "API Keys",
description: "API key management",
},
{
name: "SSO",
description: "Single sign-on provider configuration",
},
{
name: "WebAuthn",
description: "Passkey registration and authentication",
},
{
name: "Vault",
description: "HashiCorp Vault SSH signing profiles",
},
{
name: "Termix ID",
description: "Built-in SSH certificate authority",
},
{
name: "Tailscale",
description: "Tailscale network integration",
},
{
name: "Sync",
description: "Remote sync between desktop and server",
},
{
name: "Tunnel Presets",
description: "Saved tunnel configurations",
},
{
name: "User Preferences",
description: "Per-user application preferences",
},
{
name: "UI Preferences",
description: "Interface layout and display preferences",
},
{
name: "Host Sidebar",
description: "Host sidebar display preferences",
},
{
name: "Credential Sidebar",
description: "Credential sidebar display preferences",
},
],
},
apis: [