code: function(options){
  			var parents = helpers.getParentsPathToSelf(getCurrent().name);
  			var	active = parents.pop();
  			
  			if(!active){
  				// there are no parents, possibly nothing active
  				parents = []
  				active = docMap[config.parent]
  			} else if(!active.children && parents.length){
  				// we want to show this item along-side it's siblings
  				// make it's parent active
  				active = parents.pop();  
  				
  				// if the original active was in a group, prototype, etc, move up again
  				if(parents.length && /group|prototype|static/i.test( active.type) ){
  					active = parents.pop()
  				}
  			}
  			
  			// remove groups because we don't want them showing up
  			parents = _.filter(parents, function(parent) {
  				return parent.type !== 'group';
  			});
  			
  			// Make sure root is always here
  			if(active.name !== config.parent && (!parents.length || parents[0].name !== config.parent)  ){
  				parents.unshift(docMap[config.parent]);
  			}
  			
  			return options.fn({
  				parents: parents,
  				active: active
  			});
  		}
docs: @function documentjs.generators.html.defaultHelpers.getActiveAndParents
  
  Renders its sub-section with a `parents` array of docObjects and the
  last parent menu as the "active" item.
  
  @body
  
  ## Use
  
  Call it in your template like:
  
  {{#getActiveAndParents}}
  {{#each parents}}
  {{/each}}
  {{#active}}
  {{/active}}
  {{/getActiveAndParents}}
  
  where `parents` is each parent docObject of the `current` docObject and
  `active` is the first docObject of current that has children.