Skip to content

Commit 8f95e6a

Browse files
committed
feat: add version warnings
1 parent ea414b3 commit 8f95e6a

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

src/docs/auth/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Numerous web applications offer their users a means to authenticate and access t
66

77
Leaf provides a lightweight but very powerful authentication system to handle all the complexities of authentication in a few lines of code. We understand that authentication is a critical part of your application, so we've made it as simple and secure as possible.
88

9+
::: warning Docs version
10+
This documentation covers Auth v3 and above. If you're using an older version, you can check the documentation [hosted here](https://v3.leafphp.dev/modules/auth/).
11+
:::
12+
913
## Setting up
1014

1115
You can install Leaf Auth using the Leaf CLI:

src/docs/utils/fs.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Filesystem / Cloud Storage
2-
31
<!-- markdownlint-disable no-inline-html -->
4-
<!-- # File Storage System -->
2+
<!-- # Filesystem / Cloud Storage -->
3+
4+
# File Storage System
55

66
A file storage system is a system used to store and manage files. It's a crucial part of most applications, as it helps you create, read, update, store and delete files effectively. Leaf provides a simple and easy-to-use file storage system that allows you to work with files on your server or in the cloud.
77

8+
::: warning Docs version
9+
This documentation covers FS v2 and above. If you're using an older version, you can check the documentation [hosted here](https://v3.leafphp.dev/modules/fs/).
10+
:::
11+
812
## Installation
913

1014
You can quickly install Leaf's file storage system through composer or the leaf cli.

src/docs/utils/testing.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Testing helps you and your team build Leaf apps faster by making sure that new f
44

55
Since you might need to setup a project for rapid prototyping and deployment, we don't add any tests to the default Leaf installation. However, we have Alchemy, a user-friendly tool that simplifies your testing, code styling checks, and code coverage reports with a single command.
66

7+
::: warning Docs version
8+
This documentation covers Alchemy v2 and above. If you're using an older version, you can check the documentation [hosted here](https://v3.leafphp.dev/docs/tooling/testing.html).
9+
:::
10+
711
## Setting up
812

913
Leaf CLI will always ask if you want to add Alchemy to your project when you create a new project. If you already have a project and want to add Alchemy, you can do so by running the following command:

0 commit comments

Comments
 (0)