Sha256: e2d73c3a6fe6c16331707d9afba011a920508b58c70043ef0d337512c8d7c927

Contents?: true

Size: 764 Bytes

Versions: 10

Compression:

Stored size: 764 Bytes

Contents

<content:page>
	<content:heading>Source</content:heading>
	
	<?r
	base = controller[:base]
	index = base.index
	
	index.trie.traverse do |path, node, descend|
		if symbols = node.values
			symbol = base.best(symbols)
			
			if documentation = symbol.documentation or symbol.container?
				?><li>
					<a href="#{base.link_for(symbol)}"><code class="language-#{symbol.language.name}">#{symbol.long_form}</code></a>
					
					<?r if documentation and text = documentation.text ?>
						#{base.format(text.first, symbol)}
					<?r end ?>
					
					<?r if symbol.container?
						?><ul class="index"><?r
						descend.call
						?></ul><?r
					end ?>
				</li><?r
			end
		else
			?><ul class="index"><?r
			descend.call
			?></ul><?r
		end
	end
	?>
</content:page>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
utopia-project-0.15.2 pages/source/index.xnode
utopia-project-0.15.1 pages/source/index.xnode
utopia-project-0.15.0 pages/source/index.xnode
utopia-project-0.14.2 pages/source/index.xnode
utopia-project-0.14.1 pages/source/index.xnode
utopia-project-0.14.0 pages/source/index.xnode
utopia-project-0.13.3 pages/source/index.xnode
utopia-project-0.13.2 pages/source/index.xnode
utopia-project-0.13.1 pages/source/index.xnode
utopia-project-0.13.0 pages/source/index.xnode