File tree Expand file tree Collapse file tree 8 files changed +1892
-0
lines changed
resources/views/components Expand file tree Collapse file tree 8 files changed +1892
-0
lines changed Original file line number Diff line number Diff line change 22/node_modules
33/node_modules.nosync
44/public /build
5+ /public /api
56/public /hot
67/public /storage
78/storage /* .key
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ base=$( pwd)
6+ doctum=${base} /build/doctum
7+
8+ if [ ! -f ${base} /composer.json ]; then
9+ echo " Please make sure to run this script from the root directory of this repo."
10+ exit 1
11+ fi
12+
13+ cd $doctum
14+ composer install
15+
16+ # Cleanup Before
17+ rm -rf ${doctum} /build
18+ rm -rf ${doctum} /cache
19+ rm -rf ${doctum} /filament
20+
21+ # Run API Docs
22+ git clone
[email protected] :filamentphp/filament.git
${doctum} /filament
23+
24+ ${doctum} /vendor/bin/doctum.php update ${doctum} /doctum.php -v --ignore-parse-errors
25+
26+ # Delete old directory before copying new one
27+ rm -rf ${base} /public/api
28+
29+ # Copy new docs to public path
30+ cp -R ${doctum} /build ${base} /public/api
31+
32+ # Cleanup After
33+ rm -rf ${doctum} /build
34+ rm -rf ${doctum} /cache
35+ rm -rf ${doctum} /filament
Original file line number Diff line number Diff line change 1+ /vendor
Original file line number Diff line number Diff line change 1+ {
2+ "require" : {
3+ "code-lts/doctum" : " ^5.5"
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments