<div dir="ltr">Cool, I&#39;ll stay tune then ;)</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 February 2014 12:18, Karel Piwko <span dir="ltr">&lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Makes perfect sense.<br>
<br>
However, we need to agree on tag format. The hook might be useful no matter<br>
the format, for instance to check that a tag is missing in latest commit. I&#39;ll<br>
rework it next week to reflect that.<br>
<span class="HOEnZb"><font color="#888888"><br>
Karel<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, 26 Feb 2014 09:51:53 +0100<br>
Corinne Krych &lt;<a href="mailto:corinnekrych@gmail.com">corinnekrych@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello Karel,<br>
&gt;<br>
&gt; Yesterday, discussing with a friend who is writing his documentation using<br>
&gt; asciidoctor:<br>
&gt; <a href="http://beta.groovy-lang.org/docs/groovy-2.3.0-SNAPSHOT/html/documentation/" target="_blank">http://beta.groovy-lang.org/docs/groovy-2.3.0-SNAPSHOT/html/documentation/</a><br>
&gt;<br>
&gt; Instead of using line number, he uses tag in his documentation inclusion like:<br>
&gt;<br>
&gt; [source,groovy]<br>
&gt; --------------------------------<br>
&gt; include::{projectdir}/src/spec/test/DifferencesFromJavaTest.groovy[tags=innerclass_3,indent=0]<br>
&gt; &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br>
&gt;<br>
&gt; And in his code source he puts some tag like below:<br>
&gt;<br>
&gt; // tag::innerclass_3[]<br>
&gt; public class Y {<br>
&gt; &nbsp; public class X {}<br>
&gt; &nbsp; public X foo() {<br>
&gt; &nbsp; return new X()<br>
&gt; &nbsp; }<br>
&gt; &nbsp; public static X createX(Y y) {<br>
&gt; &nbsp; return new X(y)<br>
&gt; &nbsp; }<br>
&gt; }<br>
&gt; // end::innerclass_3[]<br>
&gt;<br>
&gt; I think it worth a trial. wdyt?<br>
&gt;<br>
&gt; ++<br>
&gt; Corinne<br>
&gt;<br>
&gt;<br>
&gt; On 21 Feb 2014, at 11:03, Karel Piwko &lt;<a href="mailto:kpiwko@redhat.com">kpiwko@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; I&#39;ve created following Git hook -<br>
&gt; &gt; <a href="https://github.com/kpiwko/asciidoc-git-hooks" target="_blank">https://github.com/kpiwko/asciidoc-git-hooks</a><br>
&gt; &gt;<br>
&gt; &gt; Let me know if you like it and we can start using it improving our<br>
&gt; &gt; documentation kept DRY experience.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Karel<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div>