From 73143af96c76fdeb89c3fd74883815c919eca948 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 10 Feb 2023 20:17:19 +0100 Subject: [PATCH] Replace `config('site')` calls with `config('hyde')` Replace `config('site')` calls with `config('hyde')` Replace `config(['site'])` calls with `config(['hyde'])` Replace `Config::get('site')` calls with `Config::get('hyde')` --- _pages/404.blade.php | 2 +- config/docs.php | 2 +- config/hyde.php | 2 +- docs/digging-deeper/customization.md | 2 +- packages/framework/config/docs.php | 2 +- packages/framework/config/hyde.php | 2 +- .../navigation/navigation-brand.blade.php | 2 +- .../resources/views/layouts/app.blade.php | 2 +- .../resources/views/layouts/docs.blade.php | 2 +- .../resources/views/pages/404.blade.php | 2 +- .../src/Console/Commands/BuildSiteCommand.php | 2 +- packages/framework/src/Facades/Features.php | 2 +- packages/framework/src/Facades/Site.php | 6 ++--- .../framework/src/Foundation/Hyperlinks.php | 6 ++--- .../XmlGenerators/RssFeedGenerator.php | 2 +- .../src/Framework/HydeServiceProvider.php | 4 +-- .../Services/DocumentationSearchService.php | 2 +- .../Services/YamlConfigurationService.php | 4 +-- .../framework/src/Pages/Concerns/HydePage.php | 2 +- .../Commands/BuildRssFeedCommandTest.php | 4 +-- .../Commands/BuildSitemapCommandTest.php | 4 +-- .../Feature/ConfigurableFeaturesTest.php | 8 +++--- .../Feature/Foundation/HyperlinksTest.php | 2 +- .../tests/Feature/GlobalMetadataBagTest.php | 22 ++++++++-------- .../tests/Feature/HydeKernelTest.php | 16 ++++++------ .../framework/tests/Feature/HydePageTest.php | 20 +++++++------- .../tests/Feature/HydeServiceProviderTest.php | 8 +++--- .../tests/Feature/MetadataHelperTest.php | 2 +- .../framework/tests/Feature/MetadataTest.php | 16 ++++++------ .../tests/Feature/MetadataViewTest.php | 2 +- .../framework/tests/Feature/RouteTest.php | 2 +- .../Feature/Services/BuildTaskServiceTest.php | 2 +- .../DocumentationSearchServiceTest.php | 4 +-- .../Feature/Services/RssFeedServiceTest.php | 18 ++++++------- .../Feature/Services/SitemapServiceTest.php | 10 +++---- .../Services/ValidationServiceTest.php | 4 +-- packages/framework/tests/Feature/SiteTest.php | 12 ++++----- .../tests/Feature/StaticSiteServiceTest.php | 12 ++++----- .../Feature/YamlConfigurationServiceTest.php | 12 ++++----- .../BuildOutputDirectoryCanBeChangedTest.php | 2 +- .../HyperlinkFileHelperRelativeLinkTest.php | 14 +++++----- .../HyperlinkFormatHtmlPathTest.php | 26 +++++++++---------- .../HyperlinksUrlPathHelpersTest.php | 22 ++++++++-------- .../Unit/Pages/MarkdownPostHelpersTest.php | 4 +-- ...cSiteCommandFlagToEnablePrettyUrlsTest.php | 6 ++--- .../Unit/Views/NavigationBrandViewTest.php | 2 +- .../src/Http/DashboardController.php | 2 +- .../ui-kit/docs/components-demo.blade.php | 2 +- psalm-baseline.xml | 20 +++++++------- 49 files changed, 165 insertions(+), 165 deletions(-) diff --git a/_pages/404.blade.php b/_pages/404.blade.php index 0c302f01a0c..15a7b7aa6ea 100644 --- a/_pages/404.blade.php +++ b/_pages/404.blade.php @@ -31,7 +31,7 @@ Sorry, the page you are looking for could not be found.

- +