def handle_noargs(self, **options):
   for version, config in settings.PROJECTS.iteritems():
     depender = views.get_depender(version)
     depender.self_check()
  except OSError, ex:
    raise Exception("Cannot read requested gallery template: %s" % (path,))

  # Load the js references
  js_data = { }         # map of { name: js content }
  yml_file = os.path.splitext(full_path)[0] + '.yml'
  if os.path.exists(yml_file):
    yml = yaml.load(file(yml_file))
    try:
      for ref in yml['js-references']:
        try:
          js_pkg, js_comp = ref.split('/')
        except ValueError:
          raise Exception('Invalid line "%s" in file %s' % (ref, yml_file))
        try:
          file_data = get_depender(version).get((js_pkg, js_comp))
          js_data[ref] = format_code('js', file_data.content)
        except:
          raise Exception(
            'Cannot locate "%s" package "%s" component' % (js_pkg, js_comp))
    except KeyError, ex:
      LOG.warn('%s does not have a "js-references" section' % (yml_file,))

  return render_to_response('view_source.mako',
    {
      'data': data,
      'js_data': js_data,
      'title': make_title(path.split('/')[-1]),
      'current': make_demo_url(version, project_name, path),
      'projects': projects,
      'title_prefix': settings.TITLE_PREFIX,