Sha256: 4036f5cc179a16782e65aafaf1d0fe62c5d8f6681244bc5a3af16ac4e1c206ae

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

<<={specification.yml as spec}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>${spec.title} (version ${spec.version})</title>
    <style type="text/css">
      <<{specification.css}
    </style>
	  <script type="text/javascript" language="JavaScript"><!-- 
	    <<{specification.js}
	  //--></script>
  </head>
  <body onload="show('about')">
    <h1 id="title">${spec.title} (version ${spec.version})</h1>
    <ul id="tabs">
      *{spec.sections.reverse as section}{
        <li id="+{section.identifier}focus" onclick="show('{section.identifier}')">${section.name}</li>
      }
    </ul>
    <div class="clear"></div>
    *{spec.sections as section}{
	  <div id="{section.identifier}" style="display: none;">
	    <div class="header">
		  <h2>${section.name}</h2>
		  ?{section.links}{
		    <ul class="links">
		      *{+{section.links} as link}{<li><a href="#${link.name}">${link.name}</a></li>}
		    </ul>
		  }
		  <div class="clear"></div>
		</div>
		?{/rdoc$/ =~ "{section.file}"}{
		  ^{rdoc/div}{<<{+{section.file}}}
		}{
		  <<+{+{section.file} with spec: spec}
		}
      </div>
    }
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wlang-0.10.0 doc/specification/specification.wtpl
wlang-0.9.2 doc/specification/specification.wtpl
wlang-0.9.1 doc/specification/specification.wtpl