Skip to content

Commit

Permalink
Merge branch 'bug_24808/technique_markdown_documentation_are_no_longe…
Browse files Browse the repository at this point in the history
…r_rendered_in_the_directive_page_pr' into branches/rudder/8.0
  • Loading branch information
Jenkins CI committed May 3, 2024
2 parents a5c9789 + 891a1fb commit 05c5311
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ class WebappTechniqueCompiler(
<MULTIINSTANCE>true</MULTIINSTANCE>
} else NodeSeq.Empty
}<DESCRIPTION>{technique.description}</DESCRIPTION>
<LONGDESCRIPTION>{technique.documentation}</LONGDESCRIPTION>
<USEMETHODREPORTING>true</USEMETHODREPORTING>{agentSpecificSection}<SECTIONS>
{reportingSection}{
if (technique.parameters.nonEmpty) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<POLICYGENERATION>separated-with-parameters</POLICYGENERATION>
<MULTIINSTANCE>true</MULTIINSTANCE>
<DESCRIPTION></DESCRIPTION>
<LONGDESCRIPTION></LONGDESCRIPTION>
<USEMETHODREPORTING>true</USEMETHODREPORTING>
<AGENT type="cfengine-community,cfengine-nova">
<BUNDLES>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<POLICYGENERATION>separated-with-parameters</POLICYGENERATION>
<MULTIINSTANCE>true</MULTIINSTANCE>
<DESCRIPTION>This Technique exists only to see if Rudder creates Technique correctly.</DESCRIPTION>
<LONGDESCRIPTION></LONGDESCRIPTION>
<USEMETHODREPORTING>true</USEMETHODREPORTING>
<AGENT type="cfengine-community,cfengine-nova">
<BUNDLES>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<POLICYGENERATION>separated-with-parameters</POLICYGENERATION>
<MULTIINSTANCE>true</MULTIINSTANCE>
<DESCRIPTION>This Technique exists only to see if Rudder creates Technique correctly.</DESCRIPTION>
<LONGDESCRIPTION></LONGDESCRIPTION>
<USEMETHODREPORTING>true</USEMETHODREPORTING>
<AGENT type="cfengine-community,cfengine-nova">
<BUNDLES>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<POLICYGENERATION>separated-with-parameters</POLICYGENERATION>
<MULTIINSTANCE>true</MULTIINSTANCE>
<DESCRIPTION>This Technique exists only to see if Rudder creates Technique correctly.</DESCRIPTION>
<LONGDESCRIPTION></LONGDESCRIPTION>
<USEMETHODREPORTING>true</USEMETHODREPORTING>
<AGENT type="cfengine-community,cfengine-nova">
<BUNDLES>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,23 @@ <h1>
The Directive <b class="directive">[Directive]</b> is based on following Technique:
</div>
<div ng-non-bindable id="isDisabled">[Disabled Technique]</div>
<div>
<h4>Description</h4>
<span ng-non-bindable id="techniqueDescription">[technique.description]</span>
</div>
<div>
<h4 style="margin-top:0;">Technique ID</h4>
<span ng-non-bindable id="techniqueID">[technique.techniqueName]</span>
</div>
<div>
<h4 class="toggle-doc" onclick="$(this).toggleClass('doc-hidden')">Description<i class="fa fa-chevron-down"></i></h4>
<h4 class="toggle-doc" onclick="$(this).toggleClass('doc-hidden')">Documentation<i class="fa fa-chevron-down"></i></h4>
<div class="markdown">
<span ng-non-bindable id="techniqueDescription">[technique.description]</span>
<span ng-non-bindable id="techniqueLongDescription">[technique.documentation]</span>
</div>
</div>
<div class="groupDiv">
<h4>Characteristics</h4>
<ul>
<li ng-non-bindable id="techniqueLongDescription">[technique.longDescription]</li>
<li ng-non-bindable id="isSingle">[Unique Technique]</li>
</ul>
</div>
Expand Down

0 comments on commit 05c5311

Please sign in to comment.