Sha256: d5af152db277cbfefb42e5b68f3021733c475a1ce8d4cc783d90a805df3e371f

Contents?: true

Size: 895 Bytes

Versions: 12

Compression:

Stored size: 895 Bytes

Contents

<content:page>
	<content:heading>Overview</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>
					<?r if symbol.container? ?>
						<a href="#{base.link_for(symbol)}"><code class="language-#{symbol.language.name}">#{symbol.long_form}</code></a>
						
						#{partial 'content:pragmas', symbol: symbol, class: 'inline'}
						
						<?r if documentation and text = documentation.text ?>
							#{base.format(text.first, symbol)}
						<?r end ?>
					<?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

12 entries across 12 versions & 1 rubygems

Version Path
utopia-project-0.19.1 pages/source/index.xnode
utopia-project-0.19.0 pages/source/index.xnode
utopia-project-0.18.1 pages/source/index.xnode
utopia-project-0.18.0 pages/source/index.xnode
utopia-project-0.17.4 pages/source/index.xnode
utopia-project-0.17.3 pages/source/index.xnode
utopia-project-0.17.2 pages/source/index.xnode
utopia-project-0.17.1 pages/source/index.xnode
utopia-project-0.17.0 pages/source/index.xnode
utopia-project-0.16.0 pages/source/index.xnode
utopia-project-0.15.5 pages/source/index.xnode
utopia-project-0.15.4 pages/source/index.xnode