Author: cbrisson
Date: Tue May 17 06:35:04 2016
New Revision: 1744190
URL: http://svn.apache.org/viewvc?rev=1744190&view=rev
Log:
[site] explanatory section in index vs. doc pointers in engine index ; css
tweaks; markdown bugfix in vtl page
Modified:
velocity/site/cms/trunk/content/css/site.css
velocity/site/cms/trunk/content/engine/1.7/index.mdtext
velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext
velocity/site/cms/trunk/content/engine/devel/index.mdtext
velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext
velocity/site/cms/trunk/content/index.mdtext
Modified: velocity/site/cms/trunk/content/css/site.css
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/css/site.css?rev=1744190&r1=1744189&r2=1744190&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/css/site.css (original)
+++ velocity/site/cms/trunk/content/css/site.css Tue May 17 06:35:04 2016
@@ -92,6 +92,7 @@ section, div.section
body
{
+/* font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif; */
font-family: "Roboto Condensed", sans-serif;
font-weight: 400;
font-size: 13.5pt;
@@ -103,9 +104,10 @@ body
h1, h2, h3, h4, h5, h6
{
+/* font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
*/
font-family: "Oswald", sans-serif;
font-weight: 400;
- color: rgba(0, 0, 0, 0.8);
+ color: #303284;
line-height: 100%;
}
Modified: velocity/site/cms/trunk/content/engine/1.7/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/index.mdtext?rev=1744190&r1=1744189&r2=1744190&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/index.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/index.mdtext Tue May 17 06:35:04
2016
@@ -1,12 +1,10 @@
Title: Apache Velocity Engine
-## What is Velocity?
+## Velocity Engine
-Velocity is a Java-based template engine. It permits anyone to use a simple
yet powerful template language to reference objects defined in Java code.
+If you're new to Velocity, you can read the [Overview](overview.html) to
understand its principles. Then, you can go through the [User
Guide](user-guide.html) for more details.
-When Velocity is used for web development, Web designers can work in parallel
with Java programmers to develop web sites according to the
Model-View-Controller (MVC) model, meaning that web page designers can focus
solely on creating a site that looks good, and programmers can focus solely on
writing top-notch code. Velocity separates Java code from the web pages, making
the web site more maintainable over its lifespan and providing a viable
alternative to [Java Server Pages](http://java.sun.com/products/jsp/) (JSPs) or
[PHP](http://www.php.net/).
-
-Velocity's capabilities reach well beyond the realm of the web; for example,
it can be used to generate SQL, PostScript and XML (see [Anakia](/anakia/)) for
more information on XML transformations) from templates. It can be used either
as a standalone utility for generating source code and reports, or as an
integrated component of other systems. For instance, Velocity provides template
services for the [Turbine](http://jakarta.apache.org/turbine/) web application
framework, together resulting in a view engine facilitating development of web
applications according to a true MVC model.
+You can check the [Velocity Template Language (VTL)
reference](vtl-reference.html) to write templates, and the [Developer
Guide](developer-guide.html) to guide you in the process of configuring and
integrating Velocity.
## Where do I get releases?
Modified: velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext?rev=1744190&r1=1744189&r2=1744190&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext Tue May 17
06:35:04 2016
@@ -108,7 +108,8 @@ Notes:
1. The == operator can be used to compare numbers, strings, objects of the
same class, or objects of different classes. In the last case (when objects
are of different classes), the toString() method is called on each object and
the resulting Strings are compared.
2. You can also use brackets to delimit directives. This is especially useful
when text immediately follows an `#else` directive.
- #if( $foo == $bar)it's true!#{else}it's not!#end</li>
+ #if($foo == $bar)it's true!#{else}it's not!#end
+
### #foreach - Loops through a list of objects
Modified: velocity/site/cms/trunk/content/engine/devel/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/index.mdtext?rev=1744190&r1=1744189&r2=1744190&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/index.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/index.mdtext Tue May 17
06:35:04 2016
@@ -1,12 +1,10 @@
Title: Apache Velocity Engine
-## What is Velocity?
+## Velocity Engine
-Velocity is a Java-based template engine. It permits anyone to use a simple
yet powerful template language to reference objects defined in Java code.
+If you're new to Velocity, you can read the [Overview](overview.html) to
understand its principles. Then, you can go through the [User
Guide](user-guide.html) for more details.
-When Velocity is used for web development, Web designers can work in parallel
with Java programmers to develop web sites according to the
Model-View-Controller (MVC) model, meaning that web page designers can focus
solely on creating a site that looks good, and programmers can focus solely on
writing top-notch code. Velocity separates Java code from the web pages, making
the web site more maintainable over its lifespan and providing a viable
alternative to [Java Server Pages](http://java.sun.com/products/jsp/) (JSPs) or
[PHP](http://www.php.net/).
-
-Velocity's capabilities reach well beyond the realm of the web; for example,
it can be used to generate SQL, PostScript and XML (see [Anakia](/anakia/)) for
more information on XML transformations) from templates. It can be used either
as a standalone utility for generating source code and reports, or as an
integrated component of other systems. For instance, Velocity provides template
services for the [Turbine](http://jakarta.apache.org/turbine/) web application
framework, together resulting in a view engine facilitating development of web
applications according to a true MVC model.
+You can check the [Velocity Template Language (VTL)
reference](vtl-reference.html) to write templates, and the [Developer
Guide](developer-guide.html) to guide you in the process of configuring and
integrating Velocity.
## Where do I get releases?
Modified: velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext?rev=1744190&r1=1744189&r2=1744190&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext Tue May
17 06:35:04 2016
@@ -110,7 +110,7 @@ Notes:
1. The == operator can be used to compare numbers, strings, objects of the
same class, or objects of different classes. In the last case (when objects
are of different classes), the toString() method is called on each object and
the resulting Strings are compared.
2. You can also use brackets to delimit directives. This is especially useful
when text immediately follows an `#else` directive.
- #if( $foo == $bar)it's true!#{else}it's not!#end</li>
+ #if($foo == $bar)it's true!#{else}it's not!#end
### #foreach - Loops through a list of objects
Modified: velocity/site/cms/trunk/content/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/index.mdtext?rev=1744190&r1=1744189&r2=1744190&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/index.mdtext (original)
+++ velocity/site/cms/trunk/content/index.mdtext Tue May 17 06:35:04 2016
@@ -1,5 +1,13 @@
Title: The Apache Velocity Project
+## What is Velocity?
+
+Velocity is a Java-based template engine. It permits anyone to use a simple
yet powerful template language to reference objects defined in Java code.
+
+When Velocity is used for web development, Web designers can work in parallel
with Java programmers to develop web sites according to the
Model-View-Controller (MVC) model, meaning that web page designers can focus
solely on creating a site that looks good, and programmers can focus solely on
writing top-notch code. Velocity separates Java code from the web pages, making
the web site more maintainable over its lifespan and providing a viable
alternative to [Java Server Pages](http://java.sun.com/products/jsp/) (JSPs) or
[PHP](http://www.php.net/).
+
+Velocity's capabilities reach well beyond the realm of the web; for example,
it can be used to generate SQL, PostScript and XML from templates. It can be
used either as a standalone utility for generating source code and reports, or
as an integrated component of other systems. For instance, Velocity provides
template services for [various web
frameworks](http://wiki.apache.org/velocity/PoweredByVelocity), enabling them
with a view engine facilitating development of web applications according to a
true MVC model.
+
## The Apache Velocity Project
Velocity is a project of the [Apache Software
Foundation](http://www.apache.org/), charged with the creation and maintenance
of open-source software related to the [Apache Velocity
Engine](http://velocity.apache.org/engine/index.html). All software created at
the Velocity project is available under the [Apache Software
License](http://www.apache.org/licenses/LICENSE-2.0.txt) and free of charge for
the public.