Skip to content

docs(pages): remove Direct Subprocess documentation page #389

Closed

Description

@lizhengfeng101

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.md
  • pages/src/content/docs/zh/integrations/subprocess.md
  • pages/src/content/docs/ja/integrations/subprocess.md

Files to edit:

  • pages/src/content/docs/index.ts — remove subprocess imports, DocSlug union member, and entries in enDocs / zhDocs / jaDocs maps
  • pages/src/pages/DocsPage.tsx (line 53) — remove the sidebar entry { id: 'sb-subprocess', ... }
  • pages/src/i18n/en.ts (line 276) — remove 'docs.sidebar.subprocess' key
  • pages/src/i18n/zh.ts (line 278) — remove 'docs.sidebar.subprocess' key
  • pages/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 ../subprocess links and either remove or redirect them to the CLI Reference page.

Acceptance Criteria

  • All three subprocess.md files are deleted
  • DocSlug type no longer includes 'subprocess'
  • Sidebar no longer shows a "Direct Subprocess" entry
  • No broken internal links remain (grep for subprocess in pages/src/content/)
  • i18n keys for docs.sidebar.subprocess are removed from all locale files
  • npm run build in pages/ 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

  1. added
    documentation
    good first issue
    on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions