-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display unit tests in generated docs (#501)
- Loading branch information
Showing
7 changed files
with
89 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Docs | ||
body: Enable display of unit tests | ||
time: 2024-03-11T14:03:44.490834-04:00 | ||
custom: | ||
Author: gshank | ||
Issue: "501" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<style> | ||
/* TODO */ | ||
.section-target { | ||
top: -8em; | ||
} | ||
|
||
.noflex { | ||
flex: 0 0 160px !important; | ||
} | ||
|
||
.highlight { | ||
color: #24292e; | ||
background-color: white; | ||
} | ||
|
||
</style> | ||
|
||
<div class='app-scroll'> | ||
<div class="app-links app-sticky"> | ||
<div class="app-title"> | ||
<div class="app-frame app-pad app-flush-bottom"> | ||
<h1> | ||
<span class="break">{{ model.name }}</span> | ||
<small>unit test</small> | ||
</h1> | ||
</div> | ||
</div> | ||
<div class="app-frame app-pad-h"> | ||
<ul class="nav nav-tabs"> | ||
<li ui-sref-active='active'><a ui-sref="dbt.unit_test({'#': 'description'})">Description</a></li> | ||
<li ui-sref-active='active' ng-show = "parentsLength != 0"><a ui-sref="dbt.unit_test({'#': 'depends_on'})">Depends On</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="app-details"> | ||
<div class="app-frame app-pad"> | ||
<section class="section"> | ||
<div class="section-target" id="description"></div> | ||
<div class="section-content"> | ||
<h6>Description</h6> | ||
<div class="panel"> | ||
<div class="panel-body"> | ||
<div ng-if="model.description" class="model-markdown" marked="model.description"></div> | ||
<div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section class="section" ng-show = "parentsLength != 0"> | ||
<div class="section-target" id="depends_on"></div> | ||
<div class="section-content"> | ||
<h6>Depends On</h6> | ||
<reference-list references="parents" node="model" /> | ||
</div> | ||
</section> | ||
|
||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters