Skip to content

Commit 8173c3b

Browse files
committed
deps: add artisense out of pure blissful ignorance
1 parent b3fc469 commit 8173c3b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+79378
-226
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"barryvdh/laravel-debugbar": "^3.15",
2222
"barryvdh/laravel-ide-helper": "^3.5",
2323
"fakerphp/faker": "^1.23",
24+
"joeymckenzie/artisense": "^0.2.3",
2425
"larastan/larastan": "3.4.0",
2526
"laravel/pail": "^1.2.2",
2627
"laravel/pint": "^1.18",

composer.lock

Lines changed: 312 additions & 225 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/artisense.php

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Artisense\Enums\DocumentationVersion;
6+
use Artisense\Enums\SearchPreference;
7+
use Artisense\Formatters\BasicMarkdownFormatter;
8+
9+
return [
10+
11+
/*
12+
|--------------------------------------------------------------------------
13+
| Documentation version
14+
|--------------------------------------------------------------------------
15+
|
16+
| Specifies the version of the documentation to use, with both numbered
17+
| versions and master available. By default, the most recent numbered
18+
| is used if no version is specified while attempting to download.
19+
|
20+
*/
21+
22+
'versions' => DocumentationVersion::VERSION_12,
23+
24+
/*
25+
|--------------------------------------------------------------------------
26+
| Output Formatter
27+
|--------------------------------------------------------------------------
28+
|
29+
| Specifies the optional formatter that the output should use for markdown.
30+
| Markdown content will be returned from artisense and can be formatted
31+
| Using any formatting tools installed wherever artisense is running.
32+
|
33+
*/
34+
35+
'formatter' => BasicMarkdownFormatter::class,
36+
37+
/*
38+
|--------------------------------------------------------------------------
39+
| Search Preference
40+
|--------------------------------------------------------------------------
41+
|
42+
| Specifies the search preferences to use when querying for documentation.
43+
| Ordered searches are used by default, returning results using ordered
44+
| phrase matching. You may choose your preference to adjust results.
45+
|
46+
*/
47+
48+
'search' => [
49+
'preference' => SearchPreference::ORDERED,
50+
'proximity' => 10,
51+
],
52+
53+
/*
54+
|--------------------------------------------------------------------------
55+
| Retain Artifacts
56+
|--------------------------------------------------------------------------
57+
|
58+
| Specifies the artifact retention policy artisense should use when processing
59+
| Laravel documentation. If set to true, documentation markdown files along
60+
| zip archives will be retained within the storage folder during install.
61+
|
62+
*/
63+
64+
'retain_artifacts' => true,
65+
66+
];

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default antfu(
1111
},
1212
ignores: [
1313
".github/",
14-
"storage/debugbar/",
14+
"storage/",
1515
],
1616
},
1717
);

storage/artisense/artisense.sqlite

9.81 MB
Binary file not shown.

0 commit comments

Comments
 (0)