docs: def template(self, resources):
          """ Get the template from: YAML, hierarchy, or class """
  
          template_name = self.acquire(resources, 'template')
          if template_name:
              return template_name
          else:
              # We're putting an exception for "resource", the built-in
              # rtype/directive. We want it to work out-of-the-box without
              # requiring an _templates/resource.html in the docs project.
              # Instead, use the page.html the ships with Sphinx.
              if self.rtype == 'resource':
                  return 'page'
              else:
                  return self.rtype