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 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 & 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!