Skip to content

Commit

Permalink
Migrate configuration to 2.x Authors API
Browse files Browse the repository at this point in the history
[2.x] Breaking: Improve the new Authors API
  • Loading branch information
caendesilva committed Jul 9, 2024
1 parent a41aa9e commit 1086372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 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 @@ -144,8 +144,7 @@
*/

'authors' => [
Author::create(
username: 'mr_hyde', // Required username
'mr_hyde' => Author::create(
name: 'Mr. Hyde', // Optional display name
website: 'https://hydephp.com' // Optional website URL
),
Expand Down
3 changes: 1 addition & 2 deletions monorepo/gh-pages/gh-pages-config/config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
*/

'authors' => [
Author::create(
username: 'mr_hyde', // Required username
'mr_hyde' => Author::create(
name: 'Mr. Hyde', // Optional display name
website: 'https://hydephp.com' // Optional website URL
),
Expand Down

0 comments on commit 1086372

Please sign in to comment.