freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject incubator-freemarker-docgen git commit: Added generated query string to JS and CSS links (especially because of toc.js) so that they are always reloaded if the HTML page was changed and reloaded.
Date Mon, 23 Jan 2017 18:19:04 GMT
Repository: incubator-freemarker-docgen
Updated Branches:
  refs/heads/master 0adb91f48 -> 1c8615f1f


Added generated query string to JS and CSS links (especially because of toc.js) so that they
are always reloaded if the HTML page was changed and reloaded.


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/commit/1c8615f1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/tree/1c8615f1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/diff/1c8615f1

Branch: refs/heads/master
Commit: 1c8615f1f0a5c1551dc1643476f4bad9153480fa
Parents: 0adb91f
Author: ddekany <ddekany@apache.org>
Authored: Mon Jan 23 19:18:58 2017 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Mon Jan 23 19:18:58 2017 +0100

----------------------------------------------------------------------
 src/main/org/freemarker/docgen/templates/page.ftlh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/blob/1c8615f1/src/main/org/freemarker/docgen/templates/page.ftlh
----------------------------------------------------------------------
diff --git a/src/main/org/freemarker/docgen/templates/page.ftlh b/src/main/org/freemarker/docgen/templates/page.ftlh
index 611bba0..d1cead9 100644
--- a/src/main/org/freemarker/docgen/templates/page.ftlh
+++ b/src/main/org/freemarker/docgen/templates/page.ftlh
@@ -96,7 +96,7 @@
   <#if !offline>
     <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto:500,700,400,300|Droid+Sans+Mono"><#lt>
   </#if>
-  <link rel="stylesheet" type="text/css" href="docgen-resources/docgen.min.css"><#lt>
+  <link rel="stylesheet" type="text/css" href="docgen-resources/docgen.min.css?${transformStartTime?long?c}"><#lt>
 </#macro>
 
 
@@ -127,8 +127,8 @@
     <#-- execute immediately to prevent page jerking -->
     <#if !disableJavaScript>
       <script><@nav.breadcrumbJs /></script>
-      <script src="toc.js"></script>
-      <script src="docgen-resources/main.min.js"></script>
+      <script src="toc.js?${transformStartTime?long?c}"></script>
+      <script src="docgen-resources/main.min.js?${transformStartTime?long?c}"></script>
     </#if>
   </div>
 </#macro>


Mime
View raw message