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

Document all template helpers in a "cheat sheet" #101

Open
fredrikekelund opened this issue Jun 10, 2018 · 2 comments
Open

Document all template helpers in a "cheat sheet" #101

fredrikekelund opened this issue Jun 10, 2018 · 2 comments

Comments

@fredrikekelund
Copy link
Contributor

I want to preface my small complaint by saying that the Apostrophe docs are some of the best technical docs I've ever seen. Well written, widely encompassing and well maintained. But there's always room for improvement!

Template helpers in Apostrophe have sometimes confused me a little bit. The fact that they are all namespaced under the apos variable initially lead me to believe that I was interfacing directly with the main apostrophe instance. Once you realise that's not the case, there's still no way of easily inspecting that object (you can't console.log it and you can serialize it to JSON). The module reference documentation does contain details on which template helpers the different modules register, but there's no central reference of which template helpers that the apos object contains.

It would be very helpful to have a central reference like that, a "cheat sheet" if you will. This would also make it easier to not have to look up the aliases of the different modules - ie. areas in apos.areas.richText()

@boutell
Copy link
Member

boutell commented Jun 11, 2018 via email

@boutell
Copy link
Member

boutell commented Jun 11, 2018 via email

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

2 participants