docs: function (view, options) {
      var Item = this.get('Item');
      if (!(view instanceof Item)) {
        options = options || view || {};
        this.app.create('list');
        this.app.list('list.hbs', {
          content: 'BEFORE\n{{#each pagination.items}}{{locals.title}}\n{{/each}}\nAFTER',
          locals: {
            limit: 2,
            permalinks: {
              structure: ':collection/:num.html'
            }
          }
        });
        view = this.app.list.get('list.hbs');
      }
  
      var list = this.list('paginate');
      var res = list.paginate(view, options);
      return res;
    }