<p dir="ltr">Hi all, <br>
at Hibernate we publish both the blog <a href="http://in.relation.to">in.relation.to</a> and the website <a href="http://hibernate.org">hibernate.org</a> by pushing  asciidoc changes to <a href="http://github.com">github.com</a>. </p>
<p dir="ltr">Documentation of each project is built from asciidoc during the project build, and uploaded as part of each release. </p>
<p dir="ltr">A push - including merging a PR - to website or blog will trigger a CI job which updates the websites. We have a &quot;production&quot; and a &quot;staging&quot; branch. </p>
<p dir="ltr">We also converted all our documentation from docbook, and some of our project still convert the asciidoc documentation into docbook during each release automatically to produce the old style PDF (among other formats). </p>
<p dir="ltr">Documentation is indeed broken up in multiple files, then using includes and variables.. It&#39;s particularly nice to inject variable values defined as properties in Maven, we can for example print out versions of dependencies and have them rendered correctly at release time. </p>
<p dir="ltr">The website and the blog use Bob&#39;s <a href="http://awestruct.org">http://awestruct.org</a></p>
<p dir="ltr">Have a look at our <a href="http://ci.hibernate.org">ci.hibernate.org</a> jobs, or ask us more specific questions we&#39;re happy to point to examples of each piece of the puzzle. </p>
<p dir="ltr">It works quite nicely, BUT:<br>
- sometimes I envy your wiki, takes less time to get stuff done. Lower quality though... :P<br>
- rebuilding our blog takes like 15 minutes on good day. That&#39;s not great when then you notice yet another typo and have to re-trigger it.. <br>
- the gem dependencies for awestruct tend to have weird system dependencies and break often on Fedora... use Docker. </p>
<p dir="ltr">Sanne<br></p>
<div class="gmail_quote">On 14 May 2016 10:09, &quot;Rostislav Svoboda&quot; &lt;<a href="mailto:rsvoboda@redhat.com">rsvoboda@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I like approach used in JBossWS project<br>
<br>
Latest documentation on Confluence - <a href="https://docs.jboss.org/author/display/JBWS/" rel="noreferrer" target="_blank">https://docs.jboss.org/author/display/JBWS/</a><br>
Older documentation available on <a href="http://docs.jboss.org/jbossws/" rel="noreferrer" target="_blank">http://docs.jboss.org/jbossws/</a> - e.g. <a href="http://docs.jboss.org/jbossws/5.1.0.Final/" rel="noreferrer" target="_blank">http://docs.jboss.org/jbossws/5.1.0.Final/</a><br>
<br>
Rostislav<br>
<br>
----- Original Message -----<br>
&gt; I&#39;ve looked for a few tools, but hadn&#39;t seen this one yet. Looks kind of<br>
&gt; promising though. If I could figure out how to export the docs to DocBook<br>
&gt; I&#39;d test it :)<br>
&gt;<br>
&gt; On Fri, May 13, 2016 at 1:26 PM, Brian Stansberry &lt;<br>
&gt; <a href="mailto:brian.stansberry@redhat.com">brian.stansberry@redhat.com</a> &gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Has anyone used a good docbook to asciidoc converter, e.g. the docbookrx<br>
&gt; discussed at [1] or the O&#39;Reilly thing at [2]?<br>
&gt;<br>
&gt; If we can&#39;t have some sort of reasonable conversion it&#39;s hard to imagine<br>
&gt; us making the move.<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="https://blogs.gnome.org/pmkovar/2015/10/27/converting-docbook-into-asciidoc/" rel="noreferrer" target="_blank">https://blogs.gnome.org/pmkovar/2015/10/27/converting-docbook-into-asciidoc/</a><br>
&gt;<br>
&gt; [2] <a href="https://github.com/oreillymedia/docbook2asciidoc" rel="noreferrer" target="_blank">https://github.com/oreillymedia/docbook2asciidoc</a><br>
&gt;<br>
&gt; On 5/13/16 10:46 AM, James Perkins wrote:<br>
&gt; &gt; Yeah I think I prefer approach 3 myself. It just might be a lot of work<br>
&gt; &gt; to get there.<br>
&gt; &gt;<br>
&gt; &gt; I was thinking we could either use the gh-pages/ <a href="http://github.io" rel="noreferrer" target="_blank">github.io</a><br>
&gt; &gt; &lt; <a href="http://github.io" rel="noreferrer" target="_blank">http://github.io</a> &gt; approach or even just make it part of the <a href="http://wildfly.org" rel="noreferrer" target="_blank">wildfly.org</a><br>
&gt; &gt; &lt; <a href="http://wildfly.org" rel="noreferrer" target="_blank">http://wildfly.org</a> &gt; [1] repo in a docs subdirectory. I see it being<br>
&gt; &gt; nice in some ways having it on <a href="http://wildfly.org" rel="noreferrer" target="_blank">http://wildfly.org</a> .<br>
&gt; &gt;<br>
&gt; &gt; [1]: <a href="https://github.com/wildfly/wildfly.org" rel="noreferrer" target="_blank">https://github.com/wildfly/wildfly.org</a><br>
&gt; &gt;<br>
&gt; &gt; On Fri, May 13, 2016 at 6:12 AM, David M. Lloyd &lt; <a href="mailto:david.lloyd@redhat.com">david.lloyd@redhat.com</a><br>
&gt; &gt; &lt;mailto: <a href="mailto:david.lloyd@redhat.com">david.lloyd@redhat.com</a> &gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; I like approach 3, assuming that it&#39;ll move in to e.g. GitHub. If<br>
&gt; &gt; there&#39;s an update to a doc, it&#39;s a lot easier to backport using git than<br>
&gt; &gt; Confluence. Less chance of old docs getting abandoned, and easier for<br>
&gt; &gt; users to contribute fixes and updates if they can just open a PR for<br>
&gt; &gt; each affected version. We&#39;re already reasonably well-trained to deal<br>
&gt; &gt; with old branches.<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t know how we&#39;d organize it though; I&#39;ve never done multi-document<br>
&gt; &gt; things using asciidoc, and also we&#39;d have to publish it somehow<br>
&gt; &gt; (preferably in an automated manner).<br>
&gt; &gt;<br>
&gt; &gt; On 05/12/2016 10:32 PM, James Perkins wrote:<br>
&gt; &gt; &gt; I&#39;ve been reading the WildFly documentation [1] quite a bit lately and<br>
&gt; &gt; &gt; noticing a lot of issues. Sometimes it references WildFly 8 in the<br>
&gt; &gt; &gt; WildFly 10 (or 9) documentation. Sometimes it references JBoss AS 7.<br>
&gt; &gt; &gt; Links take you to old documentation, e.g. a WFLY10 doc takes you to a<br>
&gt; &gt; &gt; page for WFLY8. Sometimes documentation is just plain out of date<br>
&gt; &gt; &gt; referencing behavior that has possibly been removed or replaced by<br>
&gt; &gt; &gt; something better.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; This has happened because we keep copying the documentation over each<br>
&gt; &gt; &gt; time we have a new version. Overall this makes sense as a lot of it<br>
&gt; &gt; &gt; doesn&#39;t need to be changed. However it leaves reading the<br>
&gt; &gt; documentation<br>
&gt; &gt; &gt; confusing. Reading documentation for WildFly 10 and seeing WildFly<br>
&gt; &gt; 8 in<br>
&gt; &gt; &gt; the text with a link for AS72 isn&#39;t very user friendly as I&#39;m sure we<br>
&gt; &gt; &gt; can all agree.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; There&#39;s a few different ways we could go with this.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Approach 1:<br>
&gt; &gt; &gt; One, probably the easiest, is to use a single confluence project. We&#39;d<br>
&gt; &gt; &gt; need to remove the version numbers from the text, which I think we<br>
&gt; &gt; &gt; should do anyway. Instead of referencing WildFly 10 we just<br>
&gt; &gt; reference it<br>
&gt; &gt; &gt; as WildFly.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; An issue I can think of with this approach is some how annotating or<br>
&gt; &gt; &gt; referencing that parts of the documentation only work with ${version}.<br>
&gt; &gt; &gt; For example new features would have to be noted they only work with<br>
&gt; &gt; &gt; ${version}+.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Approach 2:<br>
&gt; &gt; &gt; Essentially he same as approach 1 only do allow different Confluence<br>
&gt; &gt; &gt; projects for the different Java EE target version. So WIldFly 8, 9 and<br>
&gt; &gt; &gt; 10 would all be documented under something like WFLYEE7.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Approach 3<br>
&gt; &gt; &gt; Switch to using something like asciidoc which can use variables and<br>
&gt; &gt; &gt; generate links to the correct content. While this approach is probably<br>
&gt; &gt; &gt; takes the most work up front, it seems like like it would be easier to<br>
&gt; &gt; &gt; maintain between releases.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Any other suggestions are welcome.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; [1]: <a href="https://docs.jboss.org/author/display/WFLY10/Documentation" rel="noreferrer" target="_blank">https://docs.jboss.org/author/display/WFLY10/Documentation</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; James R. Perkins<br>
&gt; &gt; &gt; JBoss by Red Hat<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; wildfly-dev mailing list<br>
&gt; &gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> &lt;mailto: <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> &gt;<br>
&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; - DML<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; wildfly-dev mailing list<br>
&gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> &lt;mailto: <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a> &gt;<br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; James R. Perkins<br>
&gt; &gt; JBoss by Red Hat<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; wildfly-dev mailing list<br>
&gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Brian Stansberry<br>
&gt; Senior Principal Software Engineer<br>
&gt; JBoss by Red Hat<br>
&gt; _______________________________________________<br>
&gt; wildfly-dev mailing list<br>
&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; James R. Perkins<br>
&gt; JBoss by Red Hat<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; wildfly-dev mailing list<br>
&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</blockquote></div>