Skip to content

Commit ec4351f

Browse files
committed
Fixed links in index.md
1 parent f940119 commit ec4351f

File tree

4 files changed

+46
-30
lines changed

4 files changed

+46
-30
lines changed

README.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414

15-
Please see the [**full documentation here**](https://san-kumar.github.io/laravel-crud/).
15+
> ## Please see the [**full documentation here**](https://san-kumar.github.io/laravel-crud/).
1616
1717

1818
This package adds a **crud:generate** command to Artisan in
@@ -37,44 +37,52 @@ Laravel crud can generate nested CRUDs. For example, you can
3737
generate a CRUD for customers > tickets > replies by simply
3838
running:
3939

40+
```bash
41+
$ php artisan crud:generate customers.tickets.replies
42+
```
43+
4044
#### Table layout
4145

4246
> ![Table index](https://cdn.articlevideorobot.com/hosted/22-12-2022/image-2-dbed.webp)
4347
> (Automatically generated index page with responsive table
4448
> layout)
4549
46-
```bash
47-
$ php artisan crud:generate customers.tickets.replies
48-
```
49-
50-
## Template based
51-
5250
The generated views are fully customizable and template
5351
based. For example, you can change the look of the index
5452
page by using different templates like table, cards or
5553
chat (included in the package).
5654

5755
#### Card layout
5856

59-
> ![Card layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-303-4a64.webp)
60-
> (Card layout)
61-
6257
```bash
6358
$ php artisan crud:generate customers.tickets.replies -i cards
6459
```
6560

66-
#### Chat layout
61+
> ![Card layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-303-4a64.webp)
62+
> (Card layout)
6763
68-
> ![Chat layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-304-c429.webp)
69-
> (Chat layout)
64+
#### Chat layout
7065

7166
```bash
7267
$ php artisan crud:generate customers.tickets.replies -i chat
7368
```
7469

70+
> ![Chat layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-304-c429.webp)
71+
> (Chat layout)
72+
73+
#### Create / Edit Forms
74+
75+
Laravel CRUD generator can automatically generate the FORM
76+
for creating and editing records. It can also generate the
77+
validation rules for the form.
78+
79+
> ![Example of generated fields](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-307-f402.webp)
80+
> (Example of generated fields)
81+
82+
7583
## Heads up!
7684

77-
The package is still in _alpha_
85+
> Warning: The package is still in _alpha_
7886
7987
You should only use it with new projects. If you are using
8088
it in an existing project, make sure to back up (or commit)

docs/guide/index.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,49 @@ Laravel crud can generate nested CRUDs. For example, you can
2626
generate a CRUD for customers > tickets > replies by simply
2727
running:
2828

29+
```bash
30+
$ php artisan crud:generate customers.tickets.replies
31+
```
32+
2933
#### Table layout
3034

3135
> ![Table index](https://cdn.articlevideorobot.com/hosted/22-12-2022/image-2-dbed.webp)
3236
> (Automatically generated index page with responsive table
3337
> layout)
3438
35-
```bash
36-
$ php artisan crud:generate customers.tickets.replies
37-
```
38-
39-
## Template based
40-
4139
The generated views are fully customizable and template
4240
based. For example, you can change the look of the index
4341
page by using different templates like table, cards or
4442
chat (included in the package).
4543

4644
#### Card layout
4745

48-
> ![Card layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-303-4a64.webp)
49-
> (Card layout)
50-
5146
```bash
5247
$ php artisan crud:generate customers.tickets.replies -i cards
5348
```
5449

55-
#### Chat layout
50+
> ![Card layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-303-4a64.webp)
51+
> (Card layout)
5652
57-
> ![Chat layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-304-c429.webp)
58-
> (Chat layout)
53+
#### Chat layout
5954

6055
```bash
6156
$ php artisan crud:generate customers.tickets.replies -i chat
6257
```
6358

59+
> ![Chat layout](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-304-c429.webp)
60+
> (Chat layout)
61+
62+
#### Create / Edit Forms
63+
64+
Laravel CRUD generator can automatically generate the FORM
65+
for creating and editing records. It can also generate the
66+
validation rules for the form.
67+
68+
> ![Example of generated fields](https://cdn.articlevideorobot.com/hosted/22-12-2022/selection-307-f402.webp)
69+
> (Example of generated fields)
70+
71+
6472
## Heads up!
6573

6674
:::warning The package is still in _alpha_

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ hero:
1010
text: Get Started
1111
link: /guide/index
1212
- theme: alt
13-
text: Watch demo video
14-
link: https://github.com/vuejs/vitepress
13+
text: View on GitHub
14+
link: https://github.com/san-kumar/laravel-crud
1515

1616
features:
1717
- icon: ⚡️

docs/readme.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
if (!empty($md)) {
1515
$content = implode("\n", $md);
16-
$docs = "Please see the [**full documentation here**](https://san-kumar.github.io/laravel-crud/).\n\n";
16+
$docs = "> ## Please see the [**full documentation here**](https://san-kumar.github.io/laravel-crud/).\n\n";
1717
$content = preg_replace("/## Introduction\n/", "## Introduction\n\n" . file_get_contents(__DIR__ . '/badges.md') . "\n\n$docs", $content);
18-
$content = preg_replacE("/:::warning(.*?):::/ms", '$1', $content);
18+
$content = preg_replacE("/:::warning(.*?):::/ms", "> Warning: $1", $content);
1919
echo $content;
2020
file_put_contents(__DIR__ . '/../README.md', $content);
2121
} else {

0 commit comments

Comments
 (0)