Skip to content

[Docs]: 2.1 development pages are published under the 2.0 documentation version #4161

Closed

Description

@Peng-io

Describe the bug

The documentation site has two versions: 2.0 (stable) and dev (2.1 development). Three pages that describe unreleased 2.1 APIs exist only under docs/v2/ and are listed only in the 2.0 navigation. The dev version does not contain them.

Affected pages:

  1. docs/v2/{en,zh}/docs/building-blocks/capability-grant.md

    • CapabilitySurface and CapabilityResolver are absent from the v2.0.4 and v2.1.0-BETA1 source trees and exist only on main.
    • Listed in docs/docs.json under the 2.0 version, Building Blocks group.
    • Absent from the dev version navigation.
  2. docs/v2/{en,zh}/integration/judge/openai-decisions.md

    • The page states that the addition targets 2.1.0-SNAPSHOT.
    • agentscope-extensions-openai-decisions is absent from v2.0.4 and v2.1.0-BETA1.
    • Listed only under the 2.0 version navigation.
  3. docs/v2/{en,zh}/blogs/best-practices/session-chat.md

    • The page states that neither implementation is included in v2.0.4 and describes DurableRuntime, which is unreleased.
    • Both the 2.0 and dev navigations point to the v2/ path, and redirects map /dev/{en,zh}/docs/harness/session-chat to this v2/ page.

To reproduce

Compare the docs/v2 tree with the stable tag:

comm -13 \
  <(git ls-tree -r --name-only v2.0.4 -- docs/v2/en | grep '\.md$' | sort) \
  <(find docs/v2/en -name '*.md' | sort)

The output contains exactly the three files above.

Expected behavior

Pages describing unreleased 2.1 APIs belong under docs/dev/{en,zh}/ and in the dev version navigation. The 2.0 version should contain only pages that exist in the latest v2.0.x release.

A consistency check would prevent recurrence:

  • every docs/v2/**/*.md exists in the latest v2.0.x tag, and
  • every page listed under version=2.0 in docs/docs.json resolves to a file in that tree.

Additional context

Related: #3472 (version information and version selector for the documentation site). The 2.0 version remains the site default while README links point to /dev/; that is out of scope here.

Activity

  1. Resky0 commented on Nov 15, 2026

    @Resky0
    Contributor

    I'd like to work on this. I'll move the three affected pages in both English and Chinese to the dev docs, update the navigation and redirects, and check that the old URLs still resolve.

  2. Peng-io commented on Nov 15, 2026

    @Peng-io
    ContributorAuthor

    I'd like to work on this. I'll move the three affected pages in both English and Chinese to the dev docs, update the navigation and redirects, and check that the old URLs still resolve.

    Thank you

  3. added a commit that references this issue on Nov 18, 2026
    c1d4829
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions