Skip to content

Commit

Permalink
Update ProjectPackages.cshtml and ProjectRelations.cshtml templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Mar 11, 2024
1 parent d8a5f50 commit 2892e0c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
var prefix = GlobalsForGenerating.globalPrefix();
}
---

sidebar_position: 20
---
# Project packages @relativePath

## Number items @Model.AlphabeticalProjectPackages.Length

|Nr|ID|Version|
| ----------- | ----------- | ----------- |
@{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@
var prefix = GlobalsForGenerating.globalPrefix();

}
---
sidebar_position: 10
---

# Project relations for @nameCsproj
# Project references for @nameCsproj

## Downstream @Model.ProjectsReferences.Count, Upstream : @Model.UpStreamProjectReferences.Count

@if(Model.AlphabeticalProjectsReferences.Length>0)
{
<text>
# Project relations for @nameCsproj

```mermaid
flowchart
Expand Down Expand Up @@ -42,8 +50,11 @@ flowchart
</text>
}

</text>
}


@if (Model.AlphabeticalUpStreamProjectReferences.Length>0){
<text>
# Projects that reference @nameCsproj
```mermaid
flowchart
Expand Down Expand Up @@ -74,14 +85,19 @@ flowchart
</text>
}

</text>
}

@if (Model.AlphabeticalProjectsReferences.Length>0){

<text>
# Full Project relations for @nameCsproj

```mermaid
flowchart

@name
click @nameCsproj "@prefix/Projects/@nameCsproj/ProjectReferences" "@relativePath"
%% click @nameCsproj "@prefix/Projects/@nameCsproj/ProjectReferences" "@relativePath"

@foreach (var rel in Model.AlphabeticalProjectsReferences)
{
Expand All @@ -93,7 +109,8 @@ click @nameCsproj "@prefix/Projects/@nameCsproj/ProjectReferences" "@relativePat
}

```

</text>
}

[Packages](Packages)

Expand Down

0 comments on commit 2892e0c

Please sign in to comment.