[Catalyst-commits] r6949 - in branches/site-notrac/podbuilder: .
root/docs
jshirley at dev.catalyst.perl.org
jshirley at dev.catalyst.perl.org
Fri Sep 28 01:27:58 GMT 2007
Author: jshirley
Date: 2007-09-28 01:27:58 +0100 (Fri, 28 Sep 2007)
New Revision: 6949
Modified:
branches/site-notrac/podbuilder/buildtree.pl
branches/site-notrac/podbuilder/cat_toc.yml
branches/site-notrac/podbuilder/root/docs/page_nav.tt
Log:
Additional nav page templating, getting the table of contents a bit more inline with reality.
Modified: branches/site-notrac/podbuilder/buildtree.pl
===================================================================
--- branches/site-notrac/podbuilder/buildtree.pl 2007-09-27 07:59:31 UTC (rev 6948)
+++ branches/site-notrac/podbuilder/buildtree.pl 2007-09-28 00:27:58 UTC (rev 6949)
@@ -158,7 +158,7 @@
$page =~ s/::/-/g;
return $page;
} else {
- return "CPAN LINK TO $page";
+ return "http://search.cpan.org/perldoc?$page";
}
}
Modified: branches/site-notrac/podbuilder/cat_toc.yml
===================================================================
--- branches/site-notrac/podbuilder/cat_toc.yml 2007-09-27 07:59:31 UTC (rev 6948)
+++ branches/site-notrac/podbuilder/cat_toc.yml 2007-09-28 00:27:58 UTC (rev 6949)
@@ -12,18 +12,40 @@
- title: Catalyst Tutorial
source: Catalyst::Manual::Tutorial
children:
- - title: "Part 1: Introduction"
+ - title: "Tutorial: Part 1 - Introduction"
source: Catalyst::Manual::Tutorial::Intro
- - source: Catalyst::Manual::Tutorial::CatalystBasics
- - source: Catalyst::Manual::Tutorial::BasicCRUD
+ - title: "Tutorial: Part 2 - Catalyst Basics"
+ source: Catalyst::Manual::Tutorial::CatalystBasics
+ - title: "Tutorial: Part 3 - Basic CRUD"
+ source: Catalyst::Manual::Tutorial::BasicCRUD
+ - title: "Tutorial: Part 4 - Authentication"
+ source: Catalyst::Manual::Tutorial::Authentication
+ - title: "Tutorial: Part 5 - Authorization"
+ source: Catalyst::Manual::Tutorial::Authorization
+ - title: "Tutorial: Part 6 - Debugging"
+ source: Catalyst::Manual::Tutorial::Debugging
+ - title: "Tutorial: Part 7 - Testing"
+ source: Catalyst::Manual::Tutorial::Testing
+ - title: "Tutorial: Part 8 - Advanced CRUD"
+ source: Catalyst::Manual::Tutorial::AdvancedCRUD
+ - title: "Tutorial: Part 9 - Appendices"
+ source: Catalyst::Manual::Tutorial::Appendices
+ - title: Catalyst Philosophy
+ source: Catalyst::Manual::About
- title: Catalyst Cookbook
source: Catalyst::Manual::Cookbook
- - title: Catalyst Philosophy
- source: Catalyst::Manual::About
- - title: Catalyst Internals
- source: Catalyst::Devel
+ - title: Advanced Catalyst Topics
children:
- - source: Catalyst::Base
- - title: Other Catalyst Modules
- #default_children: 1
+ - title: Catalyst Internals/Request Lifecycle
+ source: Catalyst::Manual::Internals
+ - title: Catalyst Plugins
+ source: Catalyst::Manual::Plugins
+ - title: Extending Catalyst
+ source: Catalyst::Manual::ExtendingCatalyst
+ - title: Catalyst Actions
+ source: Catalyst::Manual::Actions
+ - title: Catalyst Development Process
+ source: Catalyst::Manual::DevelopmentProcess
+ #- title: Other Catalyst Modules
+ # default_children: 1
Modified: branches/site-notrac/podbuilder/root/docs/page_nav.tt
===================================================================
--- branches/site-notrac/podbuilder/root/docs/page_nav.tt 2007-09-27 07:59:31 UTC (rev 6948)
+++ branches/site-notrac/podbuilder/root/docs/page_nav.tt 2007-09-28 00:27:58 UTC (rev 6949)
@@ -1,18 +1,32 @@
+<div class="previous_topic">
[% IF prev %]
-<a class="previous_topic" href="[% prev.filename %]">“ Previous ([% prev.title || prev.source %])</a>
+<a href="[% prev.filename %]">‹ [% prev.title || prev.source %]</a>
[% ELSE %]
-<span class="previous_topic"> </span>
+
[% END %]
+</div>
-[% IF parent %]
-Up to <a class="topic_tree" href="[% parent.filename %]">[% parent.title || parent.source %]</a>
+<div class="next_topic">
+[% IF next %]
+<a href="[% next.filename %]">[% next.title || next.source %] ›</a>
[% ELSE %]
-<span class="topic_tree"> </span>
+
[% END %]
+</div>
-[% IF next %]
-<a class="next_topic" href="[% next.filename %]">[% next.title || next.source %] ›</a>
+<div class="topic_tree">
+[% IF parent %]
+ [%
+ p = parent;
+ WHILE ( p );
+ %]<a href="[% p.filename %]">[% p.title %]</a> » [%
+ p = p.parent;
+ END;
+ title;
+ %]
[% ELSE %]
-<span class="next_topic"> </a>
+
[% END %]
+</div>
+
More information about the Catalyst-commits
mailing list