Skip to content

Commit c29c8b1

Browse files
committed
Refactor sitemap generation command and controller, add tests for command and exception handling.
1 parent 581ada8 commit c29c8b1

11 files changed

+236
-219
lines changed

README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ You can require the package and it's dependencies via composer:
1515
composer require fuelviews/laravel-sitemap
1616
```
1717

18-
You can install the package with:
19-
20-
```bash
21-
php artisan sitemap:install
22-
```
23-
2418
You can manually publish the config file with:
2519

2620
```bash
@@ -44,7 +38,7 @@ return [
4438
* Determines whether the index page should be excluded from the sitemap.
4539
* Setting this to `true` will exclude the index page, `false` will include it.
4640
*/
47-
'exclude_index' => true,
41+
'exclude_subcategory_sitemap_links' => true,
4842

4943
/**
5044
* Controls whether redirect URLs should be excluded from the sitemap.

config/fv-sitemap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Determines whether the index page should be excluded from the sitemap.
1313
* Setting this to `true` will exclude the index page, `false` will include it.
1414
*/
15-
'exclude_index' => true,
15+
'exclude_subcategory_sitemap_links' => true,
1616

1717
/**
1818
* Controls whether redirect URLs should be excluded from the sitemap.

resources/stubs/.gitkeep

Whitespace-only changes.

src/Commands/InstallCommand.php

-133
This file was deleted.

0 commit comments

Comments
 (0)