Skip to content

Commit a35c35e

Browse files
committed
Add warning banner
1 parent 94a153f commit a35c35e

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

docs/en/guide/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Guide
22

3+
::: warning
4+
You are reading the documentation for v2 version of StaticPHP.
5+
We are currently in the alpha stage of v3, which will be released as stable within a few months. You can check it out [here](https://static-php.dev/).
6+
:::
7+
38
Static php cli is a tool used to build statically compiled PHP binaries,
49
currently supporting Linux and macOS systems.
510

docs/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
layout: home
44

55
hero:
6-
name: "Static PHP"
6+
name: "Static PHP (v2)"
77
tagline: "Build standalone PHP binary on Linux, macOS, FreeBSD, Windows, with PHP project together, with popular extensions included."
88
image:
99
src: /images/static-php_nobg.png
@@ -25,6 +25,11 @@ features:
2525
details: static-php-cli comes with dependency management and supports installation of different types of PHP extensions.
2626
---
2727

28+
::: warning
29+
You are reading the documentation for v2 version of StaticPHP.
30+
We are currently in the alpha stage of v3, which will be released as stable within a few months. You can check it out [here](https://static-php.dev/).
31+
:::
32+
2833
<script setup>
2934
import {VPSponsors} from "vitepress/theme";
3035
import Contributors from './.vitepress/components/Contributors.vue';

docs/zh/guide/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# 指南
22

3+
::: warning
4+
您正在阅读 StaticPHP 的 v2 版本文档。
5+
我们目前正在开发 v3 的 alpha 版本,预计将在几个月内发布稳定版。您可以在 [这里](https://static-php.dev/) 查看。
6+
:::
7+
38
static-php-cli 是一个用于构建静态编译的 PHP 二进制的工具,目前支持 Linux 和 macOS 系统。
49

510
在指南章节中,你将了解到如何使用 static-php-cli 构建独立的 php 程序。

0 commit comments

Comments
 (0)