Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions web/packages/ui/src/data/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,17 @@ export interface VersionMeta {

/** Wheels Guides — the narrative docs at guides.wheels.dev. */
export const GUIDES_VERSIONS: VersionMeta[] = [
{ slug: 'v4-2-0', label: 'v4.2', sidebarLabel: 'v4.2 (in development)', collapsed: true, status: 'snapshot' },
{ slug: 'v4-1-0', label: 'v4.1', sidebarLabel: 'v4.1 (current)', collapsed: false, status: 'current' },
{ slug: 'v4-2-0', label: 'v4.2', sidebarLabel: 'v4.2 (current)', collapsed: false, status: 'current' },
{ slug: 'v4-1-0', label: 'v4.1', sidebarLabel: 'v4.1', collapsed: true, status: 'archived' },
{ slug: 'v4-0-0', label: 'v4.0', sidebarLabel: 'v4.0', collapsed: true, status: 'archived' },
{ slug: 'v3-0-0', label: 'v3.0.0', collapsed: true, status: 'archived' },
{ slug: 'v2-5-0', label: 'v2.5.0', collapsed: true, status: 'archived' },
];

/** Wheels API Reference — function-level docs at api.wheels.dev. */
export const API_VERSIONS: VersionMeta[] = [
{ slug: 'v4-1-0', label: 'v4.1', sidebarLabel: 'v4.1 (current)', collapsed: false, status: 'current' },
{ slug: 'v4-2-0', label: 'v4.2', sidebarLabel: 'v4.2 (current)', collapsed: false, status: 'current' },
{ slug: 'v4-1-0', label: 'v4.1', sidebarLabel: 'v4.1', collapsed: true, status: 'archived' },
{ slug: 'v4-0-0', label: 'v4.0', sidebarLabel: 'v4.0', collapsed: true, status: 'archived' },
{ slug: 'v3-0-0', label: 'v3.0.0', collapsed: true, status: 'archived' },
{ slug: 'v2-5-0', label: 'v2.5.0', collapsed: true, status: 'archived' },
Expand Down
3 changes: 2 additions & 1 deletion web/sites/api/src/content/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ from the framework's inline documentation annotations.

| Version | Functions | Status |
| ---------------------- | --------- | --------------- |
| **[v4.1.0](/v4-1-0/)** | 388 | current release |
| **[v4.2.0](/v4-2-0/)** | 406 | current release |
| [v4.1.0](/v4-1-0/) | 388 | |
| [v4.0.0](/v4-0-0/) | 378 | |
| [v3.0.0](/v3-0-0/) | 309 | |
| [v2.5.0](/v2-5-0/) | 309 | |
Expand Down
4 changes: 2 additions & 2 deletions web/sites/guides/src/content/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ or use the search bar (top right) to find a topic across all versions.

## Available versions

- **[v4.1 (current release)](/v4-1-0/)** — stable guides for the Wheels 4.1 line
- [v4.2 (in development)](/v4-2-0/) — guides for the next release, updated as 4.2 features land
- **[v4.2 (current release)](/v4-2-0/)** — stable guides for the Wheels 4.2 line
- [v4.1](/v4-1-0/) — archived guides for the Wheels 4.1 release
- [v4.0](/v4-0-0/) — archived guides for the Wheels 4.0 release
- [v3.0.0](/v3-0-0/) — archived guides for the Wheels 3.0 release
- [v2.5.0](/v2-5-0/) — frozen snapshot for the 2.5 release
Expand Down
6 changes: 3 additions & 3 deletions web/sites/landing/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import BaseLayout from '../layouts/BaseLayout.astro';
time shipping.
</p>
<div class="hero__cta">
<a class="btn btn--primary" href="https://guides.wheels.dev/v4-1-0/">Get started</a>
<a class="btn btn--primary" href="https://guides.wheels.dev/v4-2-0/">Get started</a>
<a class="btn btn--secondary" href="https://github.com/wheels-dev/wheels">View on GitHub</a>
</div>
<pre
Expand Down Expand Up @@ -162,7 +162,7 @@ wheels new myapp</code></pre>
The docs are split across subdomains. Pick where you need to land.
</p>
<div class="resources__grid">
<a class="resource" href="https://guides.wheels.dev/v4-1-0/">
<a class="resource" href="https://guides.wheels.dev/v4-2-0/">
<span class="resource__domain">guides.wheels.dev</span>
<h3>Guides</h3>
<p>
Expand All @@ -171,7 +171,7 @@ wheels new myapp</code></pre>
</p>
<span class="resource__link">Open →</span>
</a>
<a class="resource" href="https://api.wheels.dev/v4-1-0/">
<a class="resource" href="https://api.wheels.dev/v4-2-0/">
<span class="resource__domain">api.wheels.dev</span>
<h3>API reference</h3>
<p>
Expand Down
Binary file modified web/tests/visual-baselines/api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/tests/visual-baselines/guides.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading