How do I run Filament's documentation locally to test changes before doing a pull request?
I feel silly asking this, but after I cloned filamentphp/filament and updated the docs, I don't see a better way other than using my IDE's md preview, but that doesn't factor for design and stuff that I want to make sure looks the same without any funky line breaks, etc. It's not a laravel repo so I can't run
php artisan serve
and I tried running npm run dev
but it just builds assets. How do I host this thing locally?2 Replies
I think
npm run dev
or npm run preview
inside the docs folder should do the trick
https://github.com/filamentphp/filamentphp.com/tree/main/docsGitHub
filamentphp.com/docs at main · filamentphp/filamentphp.com
Source code for the filamentphp.com website. Contribute to filamentphp/filamentphp.com development by creating an account on GitHub.
Ah, you need to clone the filamentphp.com repo for that.
And that one probably wants a
filament
folder inside the docs
folder. Sorry, it's a bit complicated 😅