Repository navigation
Description
Description
The "Direct Subprocess" documentation page (docs/subprocess) documents how to shell out to ocr and parse its JSON output. This content largely overlaps with what is already covered in the CLI Reference, CI/CD, and Agent Skill pages — every other integration page already explains or demonstrates the subprocess invocation pattern. The page adds maintenance burden (3 localized copies) without providing unique value.
Remove all traces of the subprocess doc from the website.
Scope
Files to delete:
pages/src/content/docs/en/integrations/subprocess.mdpages/src/content/docs/zh/integrations/subprocess.mdpages/src/content/docs/ja/integrations/subprocess.md
Files to edit:
pages/src/content/docs/index.ts— removesubprocessimports,DocSlugunion member, and entries inenDocs/zhDocs/jaDocsmapspages/src/pages/DocsPage.tsx(line 53) — remove the sidebar entry{ id: 'sb-subprocess', ... }pages/src/i18n/en.ts(line 276) — remove'docs.sidebar.subprocess'keypages/src/i18n/zh.ts(line 278) — remove'docs.sidebar.subprocess'keypages/src/i18n/ja.ts(line 278) — remove'docs.sidebar.subprocess'key
Cross-references to update:
- Check the remaining integration docs (
ci.md,agent-skill.md,claude-code.md,delegate.md) for../subprocesslinks and either remove or redirect them to the CLI Reference page.
Acceptance Criteria
- All three
subprocess.mdfiles are deleted -
DocSlugtype no longer includes'subprocess' - Sidebar no longer shows a "Direct Subprocess" entry
- No broken internal links remain (grep for
subprocessinpages/src/content/) - i18n keys for
docs.sidebar.subprocessare removed from all locale files -
npm run buildinpages/succeeds with no errors - Tests pass (
make test) - Code check passes (
make check)
Context
Discovered during routine docs cleanup. The subprocess page was added as the "lowest-level integration path" reference, but its JSON schema documentation and usage examples are better housed in the CLI Reference page. Removing it simplifies the sidebar and reduces localization overhead.
Activity