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

Configuration loader should be able to set documentation sidebar title from Hyde YAML config #1523

Closed
caendesilva opened this issue Feb 6, 2024 · 2 comments · Fixed by #1770

Comments

@caendesilva
Copy link
Member

# hyde.yml
name: Example

This should also affect the sidebar header

@caendesilva
Copy link
Member Author

Thinking the best way to do this might be to set the environment variable? To reduce side effects it might be best to only add it if the name is only set in the Yaml config, and not in env, and that the header name is not set.

@caendesilva
Copy link
Member Author

How I wish we could reference values in other config files. The following also has the same issue

Meta::property('site_name', env('SITE_NAME', 'HydePHP')),

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