Sha256: 33d0766a63aaed4993a9cdd91b1b61eae25c97cc397d36bee635961f8e431f6a

Contents?: true

Size: 1.48 KB

Versions: 6

Compression:

Stored size: 1.48 KB

Contents

<?import rel_prefix, modsort, methods, files ?>

		<header class="hero-unit">
			<?attr synopsis ?>
			<?if mainpage ?>
			<p><a class="btn btn-primary btn-large" 
				href="[?call mainpage.path ?]">Learn more &raquo;</a></p>
			<?end if ?>
		</header>

		<!-- Indexes -->
		<section id="indexes" class="row">
			<div class="span4">
				<ul id="class-index" class="nav nav-list">
					<li class="nav-header">Classes/Modules</li>
				<?for index_class in modsort.select( &:documented? ).uniq {|c| c.path } ?>
					<li><a href="[?attr rel_prefix ?]/[?call index_class.path ?]"
						title="[?call index_class.full_name ?]"><?call 
						index_class.full_name.gsub(/(.+?)(?=::)/, '<span class="ns">\\1</span>') ?></a></li>
				<?end for ?>
				</ul>
			</div>

			<div class="span4">
				<ul id="method-index" class="nav nav-list">
					<li class="nav-header">Methods</li>
				<?for method in methods.uniq {|m| m.path } ?>
					<li class="method"><a title="[?call method.parent.full_name ?]"
						href="[?call method.path ?]"><?call method.pretty_name ?>
						<span class="method-parent">[<?call 
							method.parent.full_name.sub(/.*(::)/, '\\1') ?>]</span>
						</a>
					</li>
				<?end for ?>
				</ul>
			</div>

			<div class="span4">
				<ul id="file-index" class="nav nav-list">
					<li class="nav-header">Files</li>
				<?for file in files.select {|f| f.text? }.sort ?>
					<li class="file"><a href="[?call file.path ?]"><?escape file.page_name ?></a></li>
				<?end for ?>
				</ul>
			</div>

		</section>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rdoc-generator-fivefish-0.4.0 data/rdoc-generator-fivefish/templates/index.tmpl
rdoc-generator-fivefish-0.3.0 data/rdoc-generator-fivefish/templates/index.tmpl
rdoc-generator-fivefish-0.2.1 data/rdoc-generator-fivefish/templates/index.tmpl
rdoc-generator-fivefish-0.2.0 data/rdoc-generator-fivefish/templates/index.tmpl
rdoc-generator-fivefish-0.1.0 data/rdoc-generator-fivefish/templates/index.tmpl
rdoc-generator-fivefish-0.1.0.pre.87 data/rdoc-generator-fivefish/templates/index.tmpl