Sha256: 714203cb61d785c2ce4ba992b2527665c30f36d11aa22bd05a426e5294c88465

Contents?: true

Size: 811 Bytes

Versions: 10

Compression:

Stored size: 811 Bytes

Contents

<content:page>
	<content:heading>Source</content:heading>
	
	<main>
		<?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
		?>
	</main>
</content:page>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
utopia-project-0.12.1 pages/source/index.xnode
utopia-project-0.12.0 pages/source/index.xnode
utopia-project-0.11.3 pages/source/index.xnode
utopia-project-0.11.2 pages/source/index.xnode
utopia-project-0.11.1 pages/source/index.xnode
utopia-project-0.11.0 pages/source/index.xnode
utopia-project-0.10.0 pages/source/index.xnode
utopia-project-0.9.0 pages/source/index.xnode
utopia-project-0.8.4 pages/source/index.xnode
utopia-project-0.8.3 pages/source/index.xnode