Skip to content

Commit 4ccd977

Browse files
fix: make v2 the default version and regenerate LLM manifest with v2 patterns
- Change lastVersion from '1.x' to 'current' in docusaurus.config.js - Swap version paths: v2 at /docs/, v1 at /docs/1.x/ - Fix broken links in migration.md and sdks/python.md (/docs/2.0/ → /docs/) - Regenerate canonical llms-full.txt to use v2 manifest (591K) instead of v1 (76K) This makes v2 the default landing experience for new users and ensures AI assistants receive v2 API patterns instead of v1. Users can still access v1 docs via version dropdown at /docs/1.x/. Fixes #258 (docs default to v1) Fixes #274 (LLM manifest serves v1 API) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent eb37f5e commit 4ccd977

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ v2 configuration is backward compatible. If you published `config/workflow.php`
9696
- `projection_rebuild` — history rebuild strategies
9797
- `history_budget` — event count limits for continue-as-new
9898

99-
These have sensible defaults. Only configure them if you need non-default behavior. See [Configuration](/docs/2.0/configuration/options/) for details.
99+
These have sensible defaults. Only configure them if you need non-default behavior. See [Configuration](/docs/configuration/options/) for details.
100100

101101
**Environment variables:**
102102

@@ -144,7 +144,7 @@ Expected output:
144144
✓ All backend capabilities present
145145
```
146146

147-
If any check fails, see [Backend Requirements](/docs/2.0/installation/#requirements) for driver prerequisites.
147+
If any check fails, see [Backend Requirements](/docs/installation/#requirements) for driver prerequisites.
148148

149149
**2. Verify v2 workflows start successfully**
150150

@@ -412,7 +412,7 @@ php artisan workflow:v2:doctor --strict
412412

413413
### Configuration
414414

415-
v2 introduces several new configuration options. See the [Configuration](/docs/2.0/configuration/options/) section for details on:
415+
v2 introduces several new configuration options. See the [Configuration](/docs/configuration/options/) section for details on:
416416

417417
- Durable type aliases
418418
- Task repair policy

docs/sdks/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The SDK targets the same durable model as the PHP package — instance IDs, run
1111
## Requirements
1212

1313
- Python 3.10 or later
14-
- A running [Durable Workflow server](/docs/2.0/configuration/worker-protocol)
14+
- A running [Durable Workflow server](/docs/configuration/worker-protocol)
1515

1616
## Installation
1717

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ const config = {
3737
sidebarPath: require.resolve('./sidebars.js'),
3838
editUrl:
3939
'https://github.com/durable-workflow/durable-workflow.github.io/edit/main/',
40-
lastVersion: '1.x',
40+
lastVersion: 'current',
4141
versions: {
4242
current: {
4343
label: '2.0',
44-
path: '2.0',
44+
path: '',
4545
},
4646
'1.x': {
4747
label: '1.x',
48-
path: '',
48+
path: '1.x',
4949
},
5050
},
5151
},

0 commit comments

Comments
 (0)