docs: function (patternData, iframePassback, switchText) {
  
  		Dispatcher.addListener('checkPanels', panelsViewer.checkPanels);
  
  		// set-up defaults
  		var template, templateCompiled, templateRendered, panel;
  
  		// get the base panels
  		var panels = Panels.get();
  
  		// evaluate panels array and create content
  		for (var i = 0; i < panels.length; ++i) {
  
  			panel = panels[i];
  
  			// catch pattern panel since it doesn't have a name defined by default
  			if (panel.name === undefined) {
  				panel.name = patternData.patternEngineName || patternData.patternExtension;
  		        panel.language = patternData.patternExtension;
  			}
  
  			// if httpRequestReplace has not been set, use the extension. this is likely for the raw template
  			if (panel.httpRequestReplace === '') {
  				panel.httpRequestReplace = panel.httpRequestReplace + '.' + patternData.patternExtension;
  			}
  
  			if ((panel.templateID !== undefined) && (panel.templateID)) {
  
  				if ((panel.httpRequest !== undefined) && (panel.httpRequest)) {
  
  					// need a file and then render
  					var fileBase = urlHandler.getFileName(patternData.patternPartial, false);
  					var e = new XMLHttpRequest();
  					e.onload = (function (i, panels, patternData, iframeRequest) {
  						return function () {
  							prismedContent = Prism.highlight(this.responseText, Prism.languages['html']);
  							template = document.getElementById(panels[i].templateID);
  							templateCompiled = Hogan.compile(template.innerHTML);
  							templateRendered = templateCompiled.render({
  								'language': 'html',
  								'code': prismedContent
  							});
  							panels[i].content = templateRendered;
  							Dispatcher.trigger('checkPanels', [panels, patternData, iframePassback, switchText]);
  						};
  					})(i, panels, patternData, iframePassback);
  
  					e.open('GET', fileBase + panel.httpRequestReplace + '?' + (new Date()).getTime(), true);
  					e.send();
  
  				} else {
  
  					// vanilla render of pattern data
  					template = document.getElementById(panel.templateID);
  					templateCompiled = Hogan.compile(template.innerHTML);
  					templateRendered = templateCompiled.render(patternData);
  					panels[i].content = templateRendered;
  					Dispatcher.trigger('checkPanels', [panels, patternData, iframePassback, switchText]);
  
  				}
  
  			}
  
  		}
  
  	}