fix(docs): replace dots with underscores in version directory names by kabir · Pull Request #1017 · a2aproject/a2a-java · GitHub
Skip to content

fix(docs): replace dots with underscores in version directory names - #1017

Merged
kabir merged 1 commit into
a2aproject:mainfrom
kabir:docs-site
Aug 6, 2026
Merged

kabir merged 1 commit into
a2aproject:mainfrom
kabir:docs-site

Conversation

@kabir

@kabir kabir commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Roq's StringPaths.addTrailingSlashIfNoExt() checks path.contains(".") on the whole path, so dots in directory names like "1.0.0.Final" trick it into thinking the path has a file extension. This causes versioned pages to be generated as extensionless files instead of dir/index.html, which GitHub Pages serves as application/octet-stream (downloads instead of rendering).

Rename version directories to use underscores (1_0_0_Final) and rename dev.next back to dev. Update version YAML path fields, release docs, and AGENTS.md accordingly. Remove unused .nojekyll file (was excluded from the artifact by upload-pages-artifact's default settings).

Roq's StringPaths.addTrailingSlashIfNoExt() checks path.contains(".")
on the whole path, so dots in directory names like "1.0.0.Final" trick
it into thinking the path has a file extension. This causes versioned
pages to be generated as extensionless files instead of dir/index.html,
which GitHub Pages serves as application/octet-stream (downloads instead
of rendering).

Rename version directories to use underscores (1_0_0_Final) and rename
dev.next back to dev. Update version YAML path fields, release docs, and
AGENTS.md accordingly. Remove unused .nojekyll file (was excluded from
the artifact by upload-pages-artifact's default settings).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kabir
kabir merged commit 420c1ce into a2aproject:main Aug 6, 2026
13 of 14 checks passed
@kabir
kabir deleted the docs-site branch August 7, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant