Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.25
-
Fix Version/s: 1.26
-
Component/s: documentation
-
Labels:None
-
Number of attachments :
Description
With a custom docs.xml.fmt no html pages are generated into the docs dir target.
Other files are present (xml, css, js, etc)
The docs.xml.fmt used can be found at this address:
https://github.com/stoicflame/enunciate/blob/v1.25/docs/src/main/resources/org/codehaus/enunciate/modules/docs/docs.xml.fmt
Below the enunciate.xml:
<enunciate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://enunciate.codehaus.org/schemas/enunciate-1.25.xsd">
<services>
<rest defaultRestSubcontext="/api" />
</services>
<modules>
<docs docsDir="target/doc" css="css/custom.css" freemarkerXMLProcessingTemplate="web/webapp-api/src/main/webapp/META-INF/enunciate/docs.xml.fmt" />
</modules>
</enunciate>
Note that I have to indicate the path to the docs.xml.fmt from the root of the application whereas the custom css path is relative to enunciate.xml location.
Sorry, can you clarify what the expected behavior is? The "docsDir" attribute is used to specify the subdirectory in which the documentation will be placed relative to the root of the webapp, when the webapp gets built.