Red Hat Bugzilla – Bug 996093
Docs: indentation in code examples corrupted
Last modified: 2014-10-26 16:34:48 EDT
The community docs have XML code examples with correct indentation:
"If you use Maven, just add a dependency to optaplanner-core in your project's pom.xml:
(4 spaces) <dependency>
(6 spaces) <groupId>org.optaplanner</groupId>"
However, the productized docs have XML code examples with corrupted indentation:
"If you use Maven, add a dependency to drools-planner-core in your project's pom.xml:
(1 spaces) <dependency>
(6 spaces) <groupId>org.drools.planner</groupId>"
Wrong indentation makes the content harder to understand
and it is harder to copy-paste.
Thanks for reporting. This appears to be an issues with a tab/space conversion in the tool we're using. Will correct and investigate.
Assigning to Doug.
Moving this to ON_QA. Changes can be tested here: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BRMS/6-Beta/html/Business_Resource_Planner_Guide/Run_the_Examples.html
Verified that the indentation in the example is correct.