<package package="openPackage" />and package.xml file in the closed directory with the following content:
<package package="closedPackage" />We now have two packages, one for the Open Sourced content, and one for the Closed Sourced content.
<article desc="first article"> The content of the first article. Link to the <ref id="second article" />. </article>An now the second article:
<article desc="second article"> The content of the second article. </article>
<article desc="closed article"> The closed content of the article. </article>An now the second article:
<article desc="second closed article"> The closed content of the article. A link to the <ref id="closed article"/>. </article>We want to add a link from the first article in the closedPackage package to the first article in the openPackage package. For that, we have to add the
package
attribute to the reference:<article desc="closed article"> The closed content of the article. Link to the <ref id="first article" package="openPackage"/>. </article>
<index> A link to the <ref id="first article" />. A link to the <ref id="closed article" package="closedPackage" />. </index>
<packagesDependencies defaultCheck="accept"> <package name="openPackage" > <dependency name="closedPackage" check="refuse" /> </package> <package name="closedPackage"> <dependency name="openPackage" check="accept"/> </package> </packagesDependencies>
<index> A link to the <ref id="first article" package="openPackage"/>. <condition condition="closedPackage"> <if> A link to the <ref id="closed article" package="closedPackage" />. </if> </condition> </index>Now there is no error anymore when generating the wiki.
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.