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

Wayfinder Generated Source Code formatting / Indentation #15

Open
gOmp opened this issue Dec 27, 2010 · 0 comments
Open

Wayfinder Generated Source Code formatting / Indentation #15

gOmp opened this issue Dec 27, 2010 · 0 comments
Labels

Comments

@gOmp
Copy link

gOmp commented Dec 27, 2010

Wayfinder generates source code formatting with the assistance of template-chunks,
and those are currently separated to Outer Tpl's (outer & row) and the second group which is the rest:
-The Inner Tpl's (Inner & InnerRow) - they are reused in all sub levels when going deeper.

Trying to achieve nice tidy source code indentation is fine by placing indents and line breaks in the template-chunks, but it's good just for a simple menu with 2 levels.
when we go deeper (more than 2 levels) we can't remain control of the output to be neat.
we can't separate between parents rows and inner-rows and so..

I understand that there is no sense of using templates for each inner-sub-level (god knows how many of them could be).

My Suggestion is to add some kind of indent-perfix to wayfinder or automate this so we can all have nice tidy readable HTML output and sleep well at night :)

about the parents-templatting across the levels, i don't have an idea yet..

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

No branches or pull requests

1 participant