You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/08 04:18:57 UTC

svn commit: r1565895 - /myfaces/site/cms-site/trunk/lib/view.pm

Author: lu4242
Date: Sat Feb  8 03:18:56 2014
New Revision: 1565895

URL: http://svn.apache.org/r1565895
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/lib/view.pm

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1565895&r1=1565894&r2=1565895&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb  8 03:18:56 2014
@@ -322,7 +322,8 @@ sub pagetree {
    # my $file = $template;
 
    # Find the list of files
-   my $dir = @_;
+   # my $dir = @_;
+   my $dir = "/content/wiki/core/user-guide/";
    # my ($dir) = ($file =~ /^(.*)\/.*?/);
    my $entries = {};
    sitemapFind($dir, $entries);
@@ -332,7 +333,7 @@ sub pagetree {
    # $tdir =~ s{/\z}{};
 
    my $sitemap = "<ul>\n";
-   $sitemap = sitemapRender($sitemap, $entries, "content/wiki/core/user-guide/");
+   $sitemap = sitemapRender($sitemap, $entries, "");
    $sitemap .= "</ul>\n";
    # $args{sitemap} = $sitemap;