You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/07/11 17:41:20 UTC

[1/3] zest-qi4j git commit: Invocation Cache Library: fix documentation typo

Repository: zest-qi4j
Updated Branches:
  refs/heads/develop 72c2eae1e -> 7ff180d5e


Invocation Cache Library: fix documentation typo


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/e110875b
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/e110875b
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/e110875b

Branch: refs/heads/develop
Commit: e110875b8ea90b078ff59f49b25a8d129002f452
Parents: 72c2eae
Author: Paul Merlin <pa...@apache.org>
Authored: Sat Jul 11 17:38:14 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Sat Jul 11 17:38:14 2015 +0200

----------------------------------------------------------------------
 libraries/invocation-cache/src/docs/invocation-cache.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/e110875b/libraries/invocation-cache/src/docs/invocation-cache.txt
----------------------------------------------------------------------
diff --git a/libraries/invocation-cache/src/docs/invocation-cache.txt b/libraries/invocation-cache/src/docs/invocation-cache.txt
index 40600b7..e613c6b 100644
--- a/libraries/invocation-cache/src/docs/invocation-cache.txt
+++ b/libraries/invocation-cache/src/docs/invocation-cache.txt
@@ -63,7 +63,7 @@ Let's say that we have some service that is very expensive to call.
 
 [snippet,java]
 ----
-source=libraries/invocationcache/src/test/java/org/qi4j/library/invocationcache/DocumentationSupport.java
+source=libraries/invocation-cache/src/test/java/org/qi4j/library/invocationcache/DocumentationSupport.java
 tag=composite
 ----
 
@@ -73,7 +73,7 @@ provided.
 
 [snippet,java]
 ----
-source=libraries/invocationcache/src/test/java/org/qi4j/library/invocationcache/DocumentationSupport.java
+source=libraries/invocation-cache/src/test/java/org/qi4j/library/invocationcache/DocumentationSupport.java
 tag=assembly
 ----
 


[3/3] zest-qi4j git commit: Build, minor: add empty gradle.properties

Posted by pa...@apache.org.
Build, minor: add empty gradle.properties


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/7ff180d5
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/7ff180d5
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/7ff180d5

Branch: refs/heads/develop
Commit: 7ff180d5e1e88f51f851aaf1d039bc910d5f0515
Parents: 1df6d40
Author: Paul Merlin <pa...@apache.org>
Authored: Sat Jul 11 17:40:49 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Sat Jul 11 17:40:49 2015 +0200

----------------------------------------------------------------------
 build.gradle      |  4 +---
 gradle.properties | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/7ff180d5/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 17c6e6d..b0f4791 100644
--- a/build.gradle
+++ b/build.gradle
@@ -68,7 +68,7 @@ rat {
         // Gradle Files
         'gradle/wrapper/**', '**/gradlew', '**/gradlew.bat', '**/.gradle/**',
         // Build Output
-        '**/build/**', '**/derby.log',
+        '**/build/**', '**/derby.log', 'out/**',
         // IDE Files
         '**/.idea/**', '**/*.iml', '**/*.ipr', '**/*.iws',
         '**/.settings/**', '**/.classpath', '**/.project',
@@ -80,7 +80,6 @@ rat {
         '**/src/test/resources/**/*.txt',
         'libraries/rest-server/src/main/resources/**/*.htm',
         'libraries/rest-server/src/main/resources/**/*.atom',
-        'out/**',
         'tools/qidea/src/main/resources/**/*.ft',
         'tools/qidea/src/main/resources/**/*.template',
         // Graphic Resources
@@ -655,7 +654,6 @@ def srcDistImage = copySpec {
   exclude '**/.git/'                // Git directories
   exclude '**/.git*'                // Git files
   exclude '**/.gradle/'             // Gradle management files
-  exclude '**/gradle.properties'    // Gradle properties
   exclude '**/.gradletasknamecache' // Gradle cache
   into "qi4j-sdk-$version/"
 }

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/7ff180d5/gradle.properties
----------------------------------------------------------------------
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..455a465
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.


[2/3] zest-qi4j git commit: Website progressive enhancement: titles anchors

Posted by pa...@apache.org.
Website progressive enhancement: titles anchors

Section titles are now clickable and link to #whatever-section-id
Allow for easy deep-linking


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/1df6d40c
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/1df6d40c
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/1df6d40c

Branch: refs/heads/develop
Commit: 1df6d40cb0c99319c3ff351e1c898a35f9a7b785
Parents: e110875
Author: Paul Merlin <pa...@apache.org>
Authored: Sat Jul 11 17:39:12 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Sat Jul 11 17:39:12 2015 +0200

----------------------------------------------------------------------
 .../src/resources/js/progressive-enhancement.js | 29 ++++++++++++++++++--
 1 file changed, 26 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/1df6d40c/manual/src/resources/js/progressive-enhancement.js
----------------------------------------------------------------------
diff --git a/manual/src/resources/js/progressive-enhancement.js b/manual/src/resources/js/progressive-enhancement.js
index 17d899f..bbf6f86 100644
--- a/manual/src/resources/js/progressive-enhancement.js
+++ b/manual/src/resources/js/progressive-enhancement.js
@@ -45,9 +45,7 @@ $( document ).ready( function($){
                 var dt = target.parent();
                 var dd = dt.next();
                 // Scroll
-                $.scrollTo( dt, 200, {
-                    'offset': -96
-                });
+                $.scrollTo( dt, 200, { 'offset': -96 });
                 // Highlight
                 dd.fadeOut(50).fadeIn(200);
             }
@@ -110,6 +108,31 @@ $( document ).ready( function($){
         }
     } );
 
+    // Title links to their own anchor
+    $( "body > div.section .title" ).each( function( idx, title ) {
+        var $title = $( title );
+        var id = $title.find( 'a' ).attr( 'id' );
+        if( id ) {
+            $title.click( function() {
+                window.location.hash = id;
+            } );
+        }
+    } );
+
+    // Scroll down a bit on hash change so that target is not hidden under the floating top menu
+    function scrollToHash( hash ) {
+        if( hash ) {
+            var $target = $( hash );
+            if( $target ) {
+                setTimeout( function() { $.scrollTo( $target, 100, { 'offset': -96 }) }, 50 );
+            }
+        }
+    };
+    $( window ).bind( 'hashchange', function() {
+        scrollToHash( window.location.hash );
+    });
+    scrollToHash( window.location.hash );
+
     // Enhance left nav
     $( "div.sub-nav div.toc dt" ).each( function( idx, dt ) {
         var $dt = $( dt );