Skip to content

Commit 582df2e

Browse files
committed
fix(ci): v2 docs build URL
1 parent b4dcaa3 commit 582df2e

3 files changed

Lines changed: 22 additions & 20 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
6868
projectName: 'qwik-docs'
6969
directory: packages/docs/dist
70-
# v1 docs are production (qwik.dev); main (v2) stays a preview until launch
71-
branch: ${{ github.event.workflow_run.event == 'pull_request' && format('pr-{0}', github.event.workflow_run.pull_requests[0].number) || (github.event.workflow_run.head_branch == 'v1' && 'main' || format('preview-{0}', github.event.workflow_run.head_branch)) }}
70+
# v1 docs are production (qwik.dev); main (v2) stays the original build/v2 preview until launch
71+
branch: ${{ github.event.workflow_run.event == 'pull_request' && format('pr-{0}', github.event.workflow_run.pull_requests[0].number) || (github.event.workflow_run.head_branch == 'v1' && 'main') || (github.event.workflow_run.head_branch == 'main' && 'build/v2') || format('preview-{0}', github.event.workflow_run.head_branch) }}
7272
githubToken: ${{ secrets.GITHUB_TOKEN }}
7373

7474
- name: Skip message when no docs artifact

README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,42 @@
1111

1212
<h1 align="center">Instant-loading web apps, without effort</h1>
1313

14-
Qwik offers the fastest possible page load times - regardless of the complexity of your website. Qwik is so fast because it allows fully interactive sites to load with almost no JavaScript and [pickup from where the server left off](https://qwik.dev/docs/concepts/resumable/).
14+
<b>This is the branch for Qwik v2, currently in beta. For v1, see the `v1` branch.</b>
15+
16+
Qwik offers the fastest possible page load times - regardless of the complexity of your website. Qwik is so fast because it allows fully interactive sites to load with almost no JavaScript and [pickup from where the server left off](https://next.qwik.dev/docs/concepts/resumable/).
1517

1618
As users interact with the site, only the necessary parts of the site load on-demand. This [precision lazy-loading](https://qwik.dev/docs/concepts/progressive/) is what makes Qwik so quick.
1719

1820
## Getting Started
1921

2022
```sh
21-
npm create qwik@latest
23+
npm create qwik@beta
2224
# or
23-
pnpm create qwik@latest
25+
pnpm create qwik@beta
2426
# or
25-
yarn create qwik@latest
27+
yarn create qwik@beta
2628
# or
27-
bun create qwik@latest
29+
bun create qwik@beta
2830
```
2931

30-
- Understand the difference between [resumable and replayable](https://qwik.dev/docs/concepts/resumable/) applications.
31-
- Learn about Qwik's high level [mental model](https://qwik.dev/docs/concepts/think-qwik/).
32+
- Understand the difference between [resumable and replayable](https://next.qwik.dev/docs/concepts/resumable/) applications.
33+
- Learn about Qwik's high level [mental model](https://next.qwik.dev/docs/concepts/think-qwik/).
3234

3335
## Resources
3436

35-
- [Docs](https://qwik.dev/)
36-
- [Examples](https://qwik.dev/examples/introduction/hello-world/)
37-
- [Tutorials](https://qwik.dev/tutorial/welcome/overview/)
38-
- [Videos](https://qwik.dev/media/#videos)
39-
- [Podcasts](https://qwik.dev/media/#podcasts)
40-
- [Presentations](https://qwik.dev/media/#presentations)
41-
- [Blogs](https://qwik.dev/media/#blogs)
37+
- [Docs](https://next.qwik.dev/)
38+
- [Examples](https://next.qwik.dev/examples/introduction/hello-world/)
39+
- [Tutorials](https://next.qwik.dev/tutorial/welcome/overview/)
40+
- [Videos](https://next.qwik.dev/media/#videos)
41+
- [Podcasts](https://next.qwik.dev/media/#podcasts)
42+
- [Presentations](https://next.qwik.dev/media/#presentations)
43+
- [Blogs](https://next.qwik.dev/media/#blogs)
4244

4345
## Community
4446

4547
- Ping us at [@QwikDev](https://twitter.com/QwikDev)
4648
- Join our [Discord](https://qwik.dev/chat) community
47-
- Join all the [other community groups](https://qwik.dev/ecosystem/#community)
49+
- Join all the [other community groups](https://next.qwik.dev/ecosystem/#community)
4850

4951
## Development
5052

@@ -82,7 +84,7 @@ bun create qwik@latest
8284
<picture>
8385
<source srcset="https://github.com/user-attachments/assets/47c6d86a-5141-40c6-a0fb-5986266fa589" media="(prefers-color-scheme: dark)">
8486
<source srcset="https://github.com/user-attachments/assets/84bff951-ed35-43e4-9515-ebe07e8b09e4" media="(prefers-color-scheme: light)">
85-
<img width="250" src="https://github.com/user-attachments/assets/84bff951-ed35-43e4-9515-ebe07e8b09e4" alt="Company logo">
87+
<img width="250" src="https://github.com/user-attachments/assets/84bff951-ed35-43e4-9515-ebe07e8b09e4" alt="Kunaico logo">
8688
</picture>
8789
</a>
8890
</td>
@@ -93,7 +95,7 @@ bun create qwik@latest
9395
<picture>
9496
<source srcset="https://i.imgur.com/DHhJM0J.png" media="(prefers-color-scheme: dark)">
9597
<source srcset="https://i.imgur.com/DIbsvQC.png" media="(prefers-color-scheme: light)">
96-
<img width="250" src="https://i.imgur.com/DIbsvQC.png" alt="Company logo">
98+
<img width="250" src="https://i.imgur.com/DIbsvQC.png" alt="Hirez logo">
9799
</picture>
98100
</a>
99101
</td>

packages/docs/src/routes/404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default component$(() => {
8484
<Spacer class="2xl:h-[254px] h-[64px]" />
8585
<Decor />
8686
<div class="absolute right-0 translate-x-[60%] translate-y-[130%] 2xl:translate-x-[60%] 2xl:translate-y-[50%] rounded-full size-[300px] 2xl:size-[1054px] bg-secondary-background-base -z-10 opacity-50"></div>
87-
<Rocket class="absolute right-0 bottom-0 2xl:scale-100 scale-50 -translate-x-5 translate-y-15 2xl:-translate-y-10 2xl:-translate-x-[135%]" />
87+
<Rocket class="absolute right-0 bottom-0 2xl:scale-100 scale-50 -translate-x-5 translate-y-15 2xl:-translate-y-10 2xl:translate-x-[-135%]" />
8888

8989
<div class="container max-w-[975px] relative">
9090
<Clouds />

0 commit comments

Comments
 (0)