Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting authors in the YAML configuration #1719

Closed
Tracked by #1782
caendesilva opened this issue Jun 9, 2024 · 3 comments
Closed
Tracked by #1782

Support setting authors in the YAML configuration #1719

caendesilva opened this issue Jun 9, 2024 · 3 comments
Milestone

Comments

@caendesilva
Copy link
Member

From the docs:

Note that YAML settings cannot call any PHP functions, so you can't access helpers like env() for environment variables, nor declare authors or navigation links, as you cannot use facades and objects. https://hydephp.com/docs/1.x/customization

We should find a way to support authors and navigation links from here, possibly by matching input arrays to constructors. We may want to do this in v2 as the navigation system is reworked, so we don't introduce a change that will be broken soon.

@caendesilva
Copy link
Member Author

Splitting this out so that we have one issue for authors and one for navigation links

@caendesilva caendesilva changed the title Support setting authors and custom navigation links in the YAML configuration Support setting authors in the YAML configuration Jul 6, 2024
caendesilva added a commit that referenced this issue Jul 6, 2024
@caendesilva
Copy link
Member Author

See sister issue #1790

caendesilva added a commit that referenced this issue Jul 6, 2024
@caendesilva
Copy link
Member Author

Fixed in #1798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant