Author: fschumacher
Date: Sat Jul  7 12:51:29 2018
New Revision: 1835306

URL: http://svn.apache.org/viewvc?rev=1835306&view=rev
Log:
Add a rfc-tag to the site docs

Modified:
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/stylesheets/site_printable.vsl
    jmeter/trunk/xdocs/stylesheets/website-style.xsl
    jmeter/trunk/xdocs/usermanual/properties_reference.xml

Modified: jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1835306&r1=1835305&r2=1835306&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Sat Jul  7 12:51:29 2018
@@ -202,7 +202,7 @@ this behaviour, set <code>httpclient.res
 
 <h3>Timers, Assertions, Config, Pre- &amp; Post-Processors</h3>
 <ul>
-    <li><bug>61664</bug>HTTP Authorization Manager : Digest works only with 
legacy RFC 2069, RFC 2617 is not implemented. Contributed by Ubik Load Pack 
(support at ubikloadpack.com)</li>
+    <li><bug>61664</bug>HTTP Authorization Manager : Digest works only with 
legacy <rfc link="2069" />, <rfc link="2617" /> is not implemented. Contributed 
by Ubik Load Pack (support at ubikloadpack.com)</li>
     <li><bug>62252</bug>HTTP header merging logic does not correspond to the 
documentation</li>
 </ul>
 

Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1835306&r1=1835305&r2=1835306&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Sat Jul  7 12:51:29 2018
@@ -238,6 +238,14 @@ No
 <a href="https://github.com/apache/jmeter/pull/$id.getText()">Pull request 
#$id.getText()</a>##
 #end
 
+#macro ( rfc $id)
+#if($id.getText())
+<a 
href="https://tools.ietf.org/html/rfc$id.getAttributeValue('link')">$id.getText()</a>##
+#else
+<a href="https://tools.ietf.org/html/rfc$id.getAttributeValue('link')">RFC 
$id.getAttributeValue('link')</a>##
+#end
+#end
+
 ## Shorthand - automatically adds " - " before remaining text
 #macro ( bug $id)
 #bugzilla($id) - ##
@@ -299,6 +307,8 @@ Contributed by $id.getAttributeValue("na
 #bug ($node)
 #elseif ($node.getName().equals("pr"))
 #pr ($node)
+#elseif ($node.getName().equals("rfc"))
+#rfc ($node)
 #elseif ($node.getName().equals("contributor"))
 #contributor ($node)
 #elseif ($node.getName().equals("ch_section"))

Modified: jmeter/trunk/xdocs/stylesheets/website-style.xsl
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/website-style.xsl?rev=1835306&r1=1835305&r2=1835306&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/website-style.xsl (original)
+++ jmeter/trunk/xdocs/stylesheets/website-style.xsl Sat Jul  7 12:51:29 2018
@@ -533,6 +533,17 @@
     -
   </xsl:template>
 
+  <xsl:template match="rfc">
+    <xsl:choose>
+      <xsl:when test="./text()">
+        <a href="https://tools.ietf.org/html/{@link}";><xsl:value-of 
select="./text()" /></a>
+      </xsl:when>
+      <xsl:otherwise>
+        <a href="https://tools.ietf.org/html/{@link}";>RFC <xsl:value-of 
select="@link" /></a>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
   <xsl:template match="pr[following-sibling::pr or following-sibling::bug]">
     <a href="https://github.com/apache/jmeter/pull/{./text()}">
       Pull request #<xsl:value-of select="./text()" />

Modified: jmeter/trunk/xdocs/usermanual/properties_reference.xml
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/properties_reference.xml?rev=1835306&r1=1835305&r2=1835306&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/properties_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/properties_reference.xml Sat Jul  7 12:51:29 
2018
@@ -767,7 +767,7 @@ JMETER-SERVER</source>
     redirects and allows relative paths.<br/>
     If you want to test strict conformance, set this value to 
<code>true</code>.<br/>
     When the property is <code>true</code>, JMeter follows
-    <a href="http://tools.ietf.org/html/rfc3986#section-5.2";>RFC 3986 section 
5.2</a>.<br/>
+    <rfc link="3986#section-5.2">RFC 3986 section 5.2</rfc>.<br/>
     Defaults to: <code>false</code>
 </property>
 <property name="proxy.content_type_include">


Reply via email to