Skip to content

Commit f385997

Browse files
committed
Fixed fsdocs-logo-src back
1 parent 2d1063d commit f385997

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

build/build.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ module DocsTool =
196196
"fsdocs-package-version", quoted latestEntry.NuGetVersion
197197
"fsdocs-readme-link", quoted (READMElink.ToString ())
198198
"fsdocs-release-notes-link", quoted (CHANGELOGlink.ToString ())
199+
"fsdocs-logo-src", quoted ("https://raw.githubusercontent.com/fsprojects/FSharp.Control.R3/refs/heads/main/docsSrc/content/icon.png")
199200
]
200201
Strict = Some true
201202
}

docsSrc/_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<body>
3030
<nav class="navbar sticky-top navbar-expand-lg bg-body">
3131
<div class="container">
32-
<a class="navbar-brand" href="{{root}}"><img id="fsdocs-logo" src="https://raw.githubusercontent.com/fsprojects/FSharp.Control.R3/refs/heads/main/docsSrc/content/icon.png" /></a>
32+
<a class="navbar-brand" href="{{root}}"><img id="fsdocs-logo" src="{{fsdocs-logo-src}}" /></a>
3333
<div id="header">
3434
<div class="searchbox">
3535
<input data-search-input="" class="m-3" id="search-by" type="search" placeholder="Search..." />

src/FSharp.Control.R3/FSharp.Control.R3.fsproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<PropertyGroup Label="NuGet">
88
<Title>FSharp.Control.R3</Title>
99
<Description>Extensions and wrappers for using R3 with F#</Description>
10+
<PackageIcon>icon.png</PackageIcon>
1011
</PropertyGroup>
1112

1213
<PropertyGroup Condition="'$(Configuration)'=='Release'">
@@ -22,6 +23,13 @@
2223
<Compile Include="TaskObservable.fs" />
2324
</ItemGroup>
2425

26+
<ItemGroup>
27+
<None Include="..\..\docsSrc\content\icon.png">
28+
<Pack>True</Pack>
29+
<PackagePath>\</PackagePath>
30+
</None>
31+
</ItemGroup>
32+
2533
<ItemGroup>
2634
<PackageReference Include="Microsoft.SourceLink.GitHub">
2735
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)