-
Notifications
You must be signed in to change notification settings - Fork 10
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
Template funcs docs should live in subsections #141
Comments
cc/ @budparr for any theme/design considerations here... |
To add to this: I don't think each func should be listed in the left menu (I think we have discussed that before, it is very long and hard to navigate currently, and it will get worse), a list of the subsections would be nice. |
With subsections you refer to the namespaces, right? |
Yes, we did. Agreed that left nav list is too big to be expanded by default, but also showing only NSs assumes too much of end users; i.e., newbs can intuit more from a function's name than it's namespace. I'll defer to Bud's thoughts on presentation. |
As an FYI for this thread, https://github.com/rdwatters/hugo-docs-concept/blob/master/archetypes/functions.md |
@budparr Would it be easier, at least navigation wise, for me to treat the See also gohugoio/gohugoioTheme#38 |
To clarify what I mean by this:
@rdwatters I suggest you start by just moving files into sub folders and "see how it looks". |
I agree that, if we're using subsections, it would be easier to navigate that rather than the full list. But I disagree about there being a full list somewhere. I don't find Algolia search all that useful and find myself accessing the drop-down list pretty much 100% of the time. |
@rdwatters when you've moved the files, share that branch with me, and I'll work on the design aspect. |
Matching the tpl/* namespaces where the implementation lives, see
https://godoc.org/github.com/gohugoio/hugo
The text was updated successfully, but these errors were encountered: