Skip to content

Commit e9e7758

Browse files
kabirclaude
andauthored
fix: site generation was broken (a2aproject#1015)
- Rename 'extras' folders to `extra` to avoid clashes with extras.md - Rename 'dev' version folder to 'dev.next' since it was treated differently from the versions since the presence of dots was taken to be a filename extension, which caused different link behaviour in folders with dots vs no dots. Standardising on names with dots gives unified behaviour - Upgrade Roq to latest version - Add action to check docs PRs can build the site Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c0bc48f commit e9e7758

31 files changed

Lines changed: 38 additions & 21 deletions

‎.agents/skills/release/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ When applicable:
110110

111111
1. Copy dev docs to the new version:
112112
```bash
113-
cp -r docs/content/dev docs/content/<version>
113+
cp -r docs/content/dev.next docs/content/<version>
114114
```
115115

116116
2. Create the version data file by copying `dev.yml` (it has the most up-to-date menu):

‎.github/workflows/check-site.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Roq Site Check
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- docs/**
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v7
13+
- name: Generate Roq Site
14+
uses: quarkiverse/quarkus-roq@v1.1
15+
with:
16+
site-directory: ./docs/
17+
github-pages: 'false'

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ mvn clean install
7676

7777
### Documentation Site
7878

79-
The docs site (`docs/`) is built with [Roq](https://docs.quarkiverse.io/quarkus-roq/dev/index.html) (a Quarkus-based static site generator). Content is organized into versioned folders under `docs/content/<version>/` (e.g. `docs/content/1.1.0.Final/`, `docs/content/dev/`).
79+
The docs site (`docs/`) is built with [Roq](https://docs.quarkiverse.io/quarkus-roq/dev/index.html) (a Quarkus-based static site generator). Content is organized into versioned folders under `docs/content/<version>/` (e.g. `docs/content/1.1.0.Final/`, `docs/content/dev.next/`).
8080

8181
**Editing rules:**
82-
- Only edit pages under `docs/content/dev/` — released version folders are frozen snapshots and must not be modified
82+
- Only edit pages under `docs/content/dev.next/` — released version folders are frozen snapshots and must not be modified
8383
- New versioned folders are created at release time (see RELEASE.md step 9)
8484

8585
**Version metadata:** Each version has a YAML file in `docs/data/versions/` (e.g. `dev.yml`, `1.1.0.Final.yml`) that defines the label, URL path, sort order, default/dev flags, and sidebar menu. When adding or removing a documentation page, update the `menu` list in `docs/data/versions/dev.yml` accordingly.

‎RELEASE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Create a new documentation version for the release:
166166

167167
```bash
168168
# Copy dev docs to the new version folder
169-
cp -r docs/content/dev docs/content/X.Y.Z.Final
169+
cp -r docs/content/dev.next docs/content/X.Y.Z.Final
170170

171171
# Create a new version data file
172172
cp docs/data/versions/dev.yml docs/data/versions/X.Y.Z.Final.yml

‎docs/content/1.0.0.Final/examples.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ mvn exec:java -Dopentelemetry=true
142142

143143
The client expects an OpenTelemetry collector on port 5317. The easiest way is to run the Java server with `-Popentelemetry` (which starts the collector automatically), then run the client with `-Dopentelemetry=true` for end-to-end traces.
144144

145-
For more information, see the [OpenTelemetry extras module](extras/opentelemetry).
145+
For more information, see the [OpenTelemetry extras module](extra/opentelemetry).
146146

147147
## More Examples
148148

File renamed without changes.
File renamed without changes.

docs/content/1.0.0.Final/extras/replicated-queue-manager.md renamed to docs/content/1.0.0.Final/extra/replicated-queue-manager.md

File renamed without changes.
File renamed without changes.

‎docs/content/1.0.0.Final/extras.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ Import the extras BOM to manage versions:
2828
</dependencyManagement>
2929
```
3030

31-
## [HTTP Clients](extras/http-clients)
31+
## [HTTP Clients](extra/http-clients)
3232

3333
Alternative `A2AHttpClient` implementations. The **Vert.x HTTP Client** (`a2a-java-sdk-http-client-vertx`) replaces the default JDK HttpClient with a reactive, non-blocking Vert.x WebClient — recommended for Quarkus, reactive frameworks, and high-throughput scenarios. An **Android HTTP Client** (`a2a-java-sdk-http-client-android`) is also available for mobile applications.
3434

35-
## [Storage & Persistence](extras/storage)
35+
## [Storage & Persistence](extra/storage)
3636

3737
JPA-backed replacements for the in-memory stores, providing database persistence for production and load-balanced deployments. Includes a **JPA Task Store** (`a2a-java-extras-task-store-database-jpa`) and a **JPA Push Notification Config Store** (`a2a-java-extras-push-notification-config-store-database-jpa`). Both use Jakarta Persistence API (JPA 3.0+) and share the same datasource configuration.
3838

39-
## [Replicated Queue Manager](extras/replicated-queue-manager)
39+
## [Replicated Queue Manager](extra/replicated-queue-manager)
4040

4141
Replaces the default `InMemoryQueueManager` with event replication across multiple A2A server instances via message brokers. Required for multi-instance deployments. The core module (`a2a-java-queue-manager-replicated-core`) pairs with a MicroProfile Reactive Messaging strategy (`a2a-java-queue-manager-replication-mp-reactive`) supporting Apache Kafka, Pulsar, or AMQP. You can also write your own `ReplicationStrategy`.
4242

43-
## [OpenTelemetry](extras/opentelemetry)
43+
## [OpenTelemetry](extra/opentelemetry)
4444

4545
Distributed tracing, metrics, and context propagation for A2A servers and clients using OpenTelemetry. The server module (`a2a-java-sdk-opentelemetry-server`) adds automatic span creation for all protocol methods with context propagation across async boundaries. Client modules (`a2a-java-sdk-opentelemetry-client`, `a2a-java-sdk-opentelemetry-client-propagation`) instrument A2A client operations.

0 commit comments

Comments
 (0)