From b3686b2b9efa89d4398cc52661d5027936dce874 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 11 Oct 2023 22:08:15 +0200 Subject: [PATCH 1/4] Downgrade Chrome driver to v114 Patch https://github.com/titusfortner/webdrivers/issues/247 via https://stackoverflow.com/a/76980976 --- .github/workflows/end-to-end-testing.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/end-to-end-testing.yml b/.github/workflows/end-to-end-testing.yml index 5904b2ab81e..000b27014be 100644 --- a/.github/workflows/end-to-end-testing.yml +++ b/.github/workflows/end-to-end-testing.yml @@ -32,8 +32,15 @@ jobs: - name: Prepare the Environment run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false" > .env - - name: Upgrade Chrome Driver - run: php hyde dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1` + - name: Downgrade Chrome browser to v114 + uses: browser-actions/setup-chrome@v1 + with: + chrome-version: 1134343 # Last commit number for Chrome v114 + id: setup-chrome + - run: sudo ln -fs ${{ steps.setup-chrome.outputs.chrome-path }} /usr/bin/google-chrome + - name: Downgrade Chrome driver to v114 + run: php hyde dusk:chrome-driver `/usr/bin/google-chrome --version | cut -d " " -f3 | cut -d "." -f1` + - name: Start Chrome Driver run: ./vendor/laravel/dusk/bin/chromedriver-linux & From 2795c2a3f97871e2876bb344b8281bc25748690f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 14 Sep 2023 15:45:12 +0000 Subject: [PATCH 2/4] Apply fixes from StyleCI --- packages/framework/src/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/helpers.php b/packages/framework/src/helpers.php index 7e273ba431b..fe3e646d06f 100644 --- a/packages/framework/src/helpers.php +++ b/packages/framework/src/helpers.php @@ -32,7 +32,7 @@ function unslash(string $string): string use Illuminate\Contracts\Support\Arrayable; use Symfony\Component\Yaml\Yaml; -use function function_exists; + use function function_exists; use function array_merge; use function str_replace; use function implode; From 85483839787521b06fe57e4ee6b453f02265f508 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 13 Oct 2023 14:51:00 +0200 Subject: [PATCH 3/4] Update BladeMatter documentation --- docs/getting-started/front-matter.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/getting-started/front-matter.md b/docs/getting-started/front-matter.md index 590f2ca6e2a..a14503cfbd8 100644 --- a/docs/getting-started/front-matter.md +++ b/docs/getting-started/front-matter.md @@ -71,3 +71,6 @@ To create BladeMatter, you simply use the default Laravel Blade `@php` directive ``` It will then be available through the global `$page` variable, `$page->matter('title')`. +Hyde will of course also use the data for contextual autoconfiguration in the same way it would with Markdown and use the value as the page title. + +Another idea is to use `@php($navigation = ['hidden' => true])` if you want to hide a page from the navigation. The opportunities are limitless! From 65f1f80c25c3dff5548fad8410ff51848caf8701 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 13 Oct 2023 14:56:32 +0200 Subject: [PATCH 4/4] Update PHP Documentor command --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 84c86e3d045..4a3e1b81dc1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -244,7 +244,7 @@ jobs: chmod +x phpDocumentor.phar - name: Run phpDocumentor - run: php phpDocumentor.phar -d packages/framework/src -t build/api-documentation --title="API Documentation" + run: php phpDocumentor.phar --directory="packages/framework/src" --target="build/api-documentation" --title="API Documentation" - name: Upload artifacts uses: actions/upload-artifact@v1