Skip to content

Commit

Permalink
Merge pull request #979 from sania-16/working
Browse files Browse the repository at this point in the history
Generate Docs - changes
  • Loading branch information
sonalgoyal authored Dec 6, 2024
2 parents 326713f + 13e5870 commit 4a02faa
Show file tree
Hide file tree
Showing 23 changed files with 167 additions and 615 deletions.
Binary file added assets/documentation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/documentation1.png
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import zingg.common.client.ClientOptions;
import zingg.common.client.FieldData;
import zingg.common.client.IArguments;
import zingg.common.client.IZArgs;
import zingg.common.client.ZFrame;
import zingg.common.client.ZinggClientException;
import zingg.common.core.context.IContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import zingg.common.client.FieldDefUtil;
import zingg.common.client.FieldDefinition;
import zingg.common.client.IArguments;
import zingg.common.client.IZArgs;
import zingg.common.client.ZFrame;
import zingg.common.client.ZinggClientException;
import zingg.common.client.util.ColName;
Expand Down
26 changes: 14 additions & 12 deletions common/core/src/main/resources/model.ftlh
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@
</tbody>
</table>
<p>
<table class="table table-borderless">
<table class="table table-striped">


<thead class="thead thead-dark">
<tr>
<th class="border-right border-white" style="width: 160px;" >Cluster</th>
<#list 3 ..< numColumns as entityIndex>
<th class="border-right border-white" > <a href="${columns[entityIndex]}.html"> ${columns[entityIndex]!} </a></th>
</#list>
</tr>
</thead>
<div class="container-fluid">
<thead class="thead thead-light">
<tr>
<th class="border-right border-black" style="width: 160px; border: 1.5px solid black; border-right: 1.5px solid black; " >CLUSTER</th>
<div class="clearfix visible-xs-block"></div>
<#list 3 ..< numColumns as entityIndex>
<th class="border-right border-black" style="border: 1.5px solid black; border-right: 1.5px solid black;" > ${columns[entityIndex]!?upper_case} </a></th>
</#list>
</tr>
</thead>
</div>

<tbody>

Expand All @@ -50,7 +52,7 @@
<#list 3 ..< numColumns as entityIndex>
<td
<#if c?is_even_item>
<#if c[isMatchColumnIndex] == 0> class="border-bottom bottom-danger" style="border-right: 1px solid #FF4500 ;"
<#if c[isMatchColumnIndex] == 0> class="border-bottom border-danger" style="border-right: 1px solid #FF4500 ;"
</#if>
<#if c[isMatchColumnIndex] == 1> class="border-bottom border-success" style="border-right: 1px solid #28a745 ;"
</#if>
Expand Down Expand Up @@ -84,7 +86,7 @@
position:relative;
top: 0 ;
}.table{
table-layout: fixed;
table-layout: relative;
width: 100%;
}
</style>
2 changes: 1 addition & 1 deletion docs/generatingdocumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Zingg generates readable documentation about the training data, including those

The generated documentation file can be viewed in a browser and looks like as below:

![Training Data](../assets/documentation1.png)
![Training Data](../assets/documentation.png)
24 changes: 0 additions & 24 deletions models/100/docs/add1.html

This file was deleted.

24 changes: 0 additions & 24 deletions models/100/docs/add2.html

This file was deleted.

24 changes: 0 additions & 24 deletions models/100/docs/areacode.html

This file was deleted.

24 changes: 0 additions & 24 deletions models/100/docs/city.html

This file was deleted.

24 changes: 0 additions & 24 deletions models/100/docs/dob.html

This file was deleted.

24 changes: 0 additions & 24 deletions models/100/docs/fname.html

This file was deleted.

24 changes: 0 additions & 24 deletions models/100/docs/lname.html

This file was deleted.

Loading

0 comments on commit 4a02faa

Please sign in to comment.