Skip to content

Commit c2c9fd6

Browse files
committed
Fixed some documentation
1 parent c26be1a commit c2c9fd6

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

.circleci/config.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,10 @@ jobs:
77
- image: circleci/php:8.0-fpm-node-browsers
88
steps:
99
- checkout
10-
- run:
11-
name: Install dependencies
12-
command: |
13-
apt-get update
14-
apt-get install -y python3 python3-pip
15-
pip3 install coverage coveralls
1610
- run: sudo composer self-update --no-progress --no-interaction
1711
- run: composer install --no-progress --no-interaction --prefer-dist
1812
- run: ./vendor/bin/phpunit
19-
- run:
20-
name: Generate code coverage report
21-
command: coverage run -m unittest discover
22-
- run:
23-
name: Upload code coverage report to Coveralls
24-
command: coveralls
25-
environment:
26-
COVERALLS_REPO_TOKEN: oTgNlNs5fUmP2vsiEDuCET4o1RCyC7iBe
13+
2714
workflows:
2815
version: 2
2916
test:

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
[![Total Downloads](https://img.shields.io/packagist/dt/san-kumar/laravel-crud.svg?style=flat-square)](https://img.shields.io/packagist/dt/san-kumar/laravel-crud.svg?style=flat-square)
1111
[![Coverage Status](https://coveralls.io/repos/github/san-kumar/laravel-crud/badge.svg)](https://coveralls.io/github/san-kumar/laravel-crud)
1212

13+
14+
Please see the [**full documentation here**](https://san-kumar.github.io/laravel-crud/).
15+
16+
1317
This package adds a **crud:generate** command to Artisan in
1418
your Laravel project. With this command you can generate a
1519
CRUD (Create, Read, Update, Delete) for any table instantly!

docs/readme.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

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

0 commit comments

Comments
 (0)