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

[TwigBundle] Missing configuration reference #17

Open
carsonbot-test opened this issue Jan 6, 2021 · 3 comments
Open

[TwigBundle] Missing configuration reference #17

carsonbot-test opened this issue Jan 6, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@carsonbot-test
Copy link

I found that there are some configuration missing for the TwigBundle configuration reference page. This is a list of what is missing:

- twig.globals.foo

Could someone please add these?

@OskarStark
Copy link

Really foo? 👀

@Nyholm
Copy link
Contributor

Nyholm commented Jan 6, 2021

Im looking into this.. Im not sure what to do. It comes from the example..

# Default configuration for "TwigBundle"
twig:
    globals:

        # Examples:
        foo:                 '@bar'
        pi:                  3.14

@Nyholm
Copy link
Contributor

Nyholm commented Jan 6, 2021

The algorithm is very naive. It just checks for each key (not root), globals, foo, pi. It makes sure these words exists on the reference page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants