You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2012/10/02 14:13:40 UTC

svn commit: r1392880 - in /directory/site/trunk: content/ content/apacheds/ content/api/ content/studio/ lib/ templates/ templates/apacheds/ templates/api/ templates/studio/

Author: pamarcelot
Date: Tue Oct  2 12:13:40 2012
New Revision: 1392880

URL: http://svn.apache.org/viewvc?rev=1392880&view=rev
Log:
Added new pages on all remaning sections of the website:
- main site
- api
- apacheds

Added:
    directory/site/trunk/content/apacheds/news.mdtext
    directory/site/trunk/content/api/news.mdtext
    directory/site/trunk/content/news.mdtext
    directory/site/trunk/templates/apacheds/index.html
    directory/site/trunk/templates/api/index.html
    directory/site/trunk/templates/index.html
Modified:
    directory/site/trunk/content/studio/news.mdtext
    directory/site/trunk/lib/path.pm
    directory/site/trunk/templates/studio/index.html

Added: directory/site/trunk/content/apacheds/news.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/news.mdtext?rev=1392880&view=auto
==============================================================================
--- directory/site/trunk/content/apacheds/news.mdtext (added)
+++ directory/site/trunk/content/apacheds/news.mdtext Tue Oct  2 12:13:40 2012
@@ -0,0 +1,13 @@
+# News
+
+## News 1 _posted on MMMM DD, YYYY_
+
+Text for _News 1_
+
+## News 2 _posted on MMMM DD, YYYY_
+
+Text for _News 2_
+
+## News 3 _posted on MMMM DD, YYYY_
+
+Text for _News 3_
\ No newline at end of file

Added: directory/site/trunk/content/api/news.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/news.mdtext?rev=1392880&view=auto
==============================================================================
--- directory/site/trunk/content/api/news.mdtext (added)
+++ directory/site/trunk/content/api/news.mdtext Tue Oct  2 12:13:40 2012
@@ -0,0 +1,13 @@
+# News
+
+## News 1 _posted on MMMM DD, YYYY_
+
+Text for _News 1_
+
+## News 2 _posted on MMMM DD, YYYY_
+
+Text for _News 2_
+
+## News 3 _posted on MMMM DD, YYYY_
+
+Text for _News 3_
\ No newline at end of file

Added: directory/site/trunk/content/news.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/news.mdtext?rev=1392880&view=auto
==============================================================================
--- directory/site/trunk/content/news.mdtext (added)
+++ directory/site/trunk/content/news.mdtext Tue Oct  2 12:13:40 2012
@@ -0,0 +1,13 @@
+# News
+
+## News 1 _posted on MMMM DD, YYYY_
+
+Text for _News 1_
+
+## News 2 _posted on MMMM DD, YYYY_
+
+Text for _News 2_
+
+## News 3 _posted on MMMM DD, YYYY_
+
+Text for _News 3_
\ No newline at end of file

Modified: directory/site/trunk/content/studio/news.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/studio/news.mdtext?rev=1392880&r1=1392879&r2=1392880&view=diff
==============================================================================
--- directory/site/trunk/content/studio/news.mdtext (original)
+++ directory/site/trunk/content/studio/news.mdtext Tue Oct  2 12:13:40 2012
@@ -1,6 +1,5 @@
 # News
 
-
 ## Apache Directory Studio 2.0 M3 released _posted on March 12, 2012_
 
 The Apache Directory Team is pleased to announce the release of Apache Directory Studio 2.0 M3, the third milestone release of the version 2.0 of its Eclipse based LDAP Browser and Directory client.

Modified: directory/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/directory/site/trunk/lib/path.pm?rev=1392880&r1=1392879&r2=1392880&view=diff
==============================================================================
--- directory/site/trunk/lib/path.pm (original)
+++ directory/site/trunk/lib/path.pm Tue Oct  2 12:13:40 2012
@@ -55,6 +55,11 @@ our @patterns = (
         template => "apacheds/download-windows.html",
         isDirApacheDS => true, 
         version => $version_apacheds } ],
+        
+    # ApacheDS Index page
+    [qr!apacheds\/index\.mdtext$!, template_page => {
+        template => "apacheds/index.html",
+        isDirApacheDS => true } ],
     
     # Standard ApacheDS page
     [qr!apacheds\/.*?\.mdtext$!, template_page => {
@@ -76,6 +81,11 @@ our @patterns = (
         template => "api/download-sources.html",
         isDirAPI => true, 
         version => $version_api } ],
+        
+    # Apache LDAP API Index page
+    [qr!api\/index\.mdtext$!, template_page => {
+        template => "api/index.html",
+        isDirAPI => true } ],
     
     # Standard Apache LDAP API page
     [qr!api\/.*?\.mdtext$!, template_page => {
@@ -110,7 +120,7 @@ our @patterns = (
         isDirStudio => true, 
         version => $version_studio } ],
         
-    # Standard Apache Directory Studio page
+    # Apache Directory Studio Index page
     [qr!studio\/index\.mdtext$!, template_page => {
         template => "studio/index.html",
         isDirStudio => true } ],
@@ -121,8 +131,15 @@ our @patterns = (
         isDirStudio => true } ],
     
     #
-    # Apache Directory project pages
+    # Apache Directory Project pages
     #
+        
+    # Apache Directory Project Index page
+    [qr!index\.mdtext$!, template_page => {
+        template => "index.html",
+        isDirSite => true } ],
+    
+    # Standard Apache Directory Project page
     [qr!^/.*\.mdtext$!, template_page => {
         template => "page.html",
         isDirSite => true } ]

Added: directory/site/trunk/templates/apacheds/index.html
URL: http://svn.apache.org/viewvc/directory/site/trunk/templates/apacheds/index.html?rev=1392880&view=auto
==============================================================================
--- directory/site/trunk/templates/apacheds/index.html (added)
+++ directory/site/trunk/templates/apacheds/index.html Tue Oct  2 12:13:40 2012
@@ -0,0 +1,8 @@
+{% extends "apacheds/page.html" %}
+
+{% block content %}
+    {{content|markdown}}
+    {% block news %}
+        <div class="news">{% filter markdown %}{% include "../content/apacheds/news.mdtext" %}{% endfilter %}</div>
+    {% endblock %}
+{% endblock %}
\ No newline at end of file

Added: directory/site/trunk/templates/api/index.html
URL: http://svn.apache.org/viewvc/directory/site/trunk/templates/api/index.html?rev=1392880&view=auto
==============================================================================
--- directory/site/trunk/templates/api/index.html (added)
+++ directory/site/trunk/templates/api/index.html Tue Oct  2 12:13:40 2012
@@ -0,0 +1,8 @@
+{% extends "api/page.html" %}
+
+{% block content %}
+    {{content|markdown}}
+    {% block news %}
+        <div class="news">{% filter markdown %}{% include "../content/api/news.mdtext" %}{% endfilter %}</div>
+    {% endblock %}
+{% endblock %}
\ No newline at end of file

Added: directory/site/trunk/templates/index.html
URL: http://svn.apache.org/viewvc/directory/site/trunk/templates/index.html?rev=1392880&view=auto
==============================================================================
--- directory/site/trunk/templates/index.html (added)
+++ directory/site/trunk/templates/index.html Tue Oct  2 12:13:40 2012
@@ -0,0 +1,8 @@
+{% extends "page.html" %}
+
+{% block content %}
+    {{content|markdown}}
+    {% block news %}
+        <div class="news">{% filter markdown %}{% include "../content/news.mdtext" %}{% endfilter %}</div>
+    {% endblock %}
+{% endblock %}
\ No newline at end of file

Modified: directory/site/trunk/templates/studio/index.html
URL: http://svn.apache.org/viewvc/directory/site/trunk/templates/studio/index.html?rev=1392880&r1=1392879&r2=1392880&view=diff
==============================================================================
--- directory/site/trunk/templates/studio/index.html (original)
+++ directory/site/trunk/templates/studio/index.html Tue Oct  2 12:13:40 2012
@@ -1,7 +1,7 @@
 {% extends "studio/page.html" %}
 
 {% block content %}
-    {{ content | markdown }}
+    {{content|markdown}}
     {% block news %}
         <div class="news">{% filter markdown %}{% include "../content/studio/news.mdtext" %}{% endfilter %}</div>
     {% endblock %}