mkdocstrings/handler-template

A few changes in handler.py template

weaversam8 opened this issue · 1 comments

Hi there, this template is very helpful! Looking forward to building a custom handler!

I noticed a few discrepencies in my generated handler.py, I believe there are some changes needed in handler.py.jinja

Hey there! Looking forward to see what you do with it 😄!

  1. Good catch. You're right.
  2. Good catch as well. Getting rid of spaces should be easy enough: {{ language.title().replace(" ", "") }} (it's important to use title first, otherwise we would lose any subsequent capital letter).

Would you like to open a PR fixing these two items?