Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/getting-started/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Lorem ipsum dolor sit amet, etc.

### Front Matter in Blade

HydePHP has experimental support for creating front-matter in Blade templates, called [BladeMatter](front-matter#front-matter-in-blade),
HydePHP has basic support for creating front-matter in Blade templates, called [BladeMatter](front-matter#front-matter-in-blade),
where code in `@php` directives are statically parsed into page object's front matter data where it can be accessed in your templates.

```blade
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Lorem ipsum dolor sit amet, etc.

### Front Matter in Blade

HydePHP has experimental support for creating front-matter in Blade templates, called BladeMatter.
HydePHP has basic support for creating front-matter in Blade templates, called BladeMatter.

The actual syntax does not use YAML; but instead PHP. However, the parsed end result is the same. Please note that
BladeMatter currently does not support multidimensional arrays or multi-line directives as the data is statically parsed.
Expand Down
4 changes: 2 additions & 2 deletions monorepo/gh-pages/gh-pages-config-dev-docs/config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@

/*
|--------------------------------------------------------------------------
| Site Output Directory (Experimental 🧪)
| Site Output Directory
|--------------------------------------------------------------------------
|
| If you want to store your compiled website in a different directory than
| the default `_pages`, you can change the path here. The Hyde::path()
| helper ensures the path is relative to your Hyde project. While
| you can set the path to an absolute path outside the project,
| this is not officially supported and may be unstable.
| that is not officially supported and may be unstable.
|
*/

Expand Down
4 changes: 2 additions & 2 deletions monorepo/gh-pages/gh-pages-config/config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@

/*
|--------------------------------------------------------------------------
| Site Output Directory (Experimental 🧪)
| Site Output Directory
|--------------------------------------------------------------------------
|
| If you want to store your compiled website in a different directory than
| the default `_pages`, you can change the path here. The Hyde::path()
| helper ensures the path is relative to your Hyde project. While
| you can set the path to an absolute path outside the project,
| this is not officially supported and may be unstable.
| that is not officially supported and may be unstable.
|
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/framework/src/Facades/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static function getFloat(string $key, ?float $default = null): float
return (float) self::validated(static::get($key, $default), 'float', $key);
}

/** @experimental Could possibly be merged by allowing null returns if default is null? Preferably with generics so the type is matched by IDE support. */
/** @experimental */
public static function getNullableString(string $key, ?string $default = null): ?string
{
/** @var array|string|int|bool|float|null $value */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function getOutputDirectoryConfiguration(string $class, string $defaul

private function getPageConfiguration(string $option, string $class, string $default): string
{
return Config::getNullableString("hyde.$option.".Str::kebab(class_basename($class))) /** @experimental Support for using kebab-case class names */
return Config::getNullableString("hyde.$option.".Str::kebab(class_basename($class)))
?? Config::getNullableString("hyde.$option.$class")
?? $default;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ protected function findConfigLine(string $namespace, string $key): array

/**
* @internal
*
* @experimental
*/
public static function try(callable $callback, ?string $message = null): mixed
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use function sprintf;
use function explode;

/** @experimental This class may change significantly before its release. */
class ParseException extends RuntimeException
{
/** @var int */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ protected function containsOnlyDocumentationPages(): bool
});
}

/** @experimental This method is subject to change before its release. */
public static function normalizeGroupKey(string $group): string
{
return Str::slug($group);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
use function in_array;
use function strtolower;

/**
* @experimental This class may change significantly before its release.
*/
class NavigationMenuGenerator
{
/** @var \Illuminate\Support\Collection<string, \Hyde\Framework\Features\Navigation\NavigationItem|\Hyde\Framework\Features\Navigation\NavigationGroup> */
Expand Down
1 change: 0 additions & 1 deletion packages/framework/src/Support/Internal/RouteListItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ protected function stylePageType(string $class): string

$page = $this->route->getPage();

/** @experimental The typeLabel macro is experimental */
if ($page instanceof InMemoryPage && $page->hasMacro('typeLabel')) {
$type .= sprintf(' <fg=gray>(%s)</>', (string) $page->__call('typeLabel', []));
}
Expand Down
2 changes: 0 additions & 2 deletions packages/framework/src/Support/Models/RouteKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ public static function fromPage(string $pageClass, string $identifier): self
}

/**
* @experimental
*
* @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass
* */
protected static function stripPrefixIfNeeded(string $pageClass, string $identifier): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ protected function handleViteOutput(): void
}
}

/** @experimental This feature may be removed before the final release. */
protected function isPortAvailable(int $port): bool
{
$addresses = ['localhost', '127.0.0.1'];
Expand Down
1 change: 0 additions & 1 deletion packages/realtime-compiler/src/ConsoleOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function getFormatter(): Closure
};
}

/** @experimental */
public function printMessage(string $message, string $context): void
{
$this->output->writeln(sprintf('%s ::context=[%s]', $message, $context));
Expand Down
6 changes: 0 additions & 6 deletions packages/testing/src/FluentTestingHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ protected function assertAllSame(...$vars): void
}
}

/**
* @experimental Helper to print and die.
*/
protected function dd($var): void
{
if (is_string($var)) {
Expand All @@ -83,9 +80,6 @@ protected function dd($var): void
exit;
}

/**
* @experimental Helper function to format an array as a plain PHP array with [] syntax.
*/
private function formatArray(array $array): string
{
$json = json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
Expand Down
Loading