Skip to content

Commit 5c435d3

Browse files
adjust the ServeDocs build target
1 parent 7200ac5 commit 5c435d3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

build/build.fs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,9 @@ Target.create "GenerateDocs" (fun _ ->
346346
)
347347

348348
Target.create "ServeDocs" (fun _ ->
349-
fakeiisexpress.HostStaticWebsite id (__SOURCE_DIRECTORY__ @@ @"docs\output\") |> ignore
350-
fakeiisexpress.OpenUrlInBrowser "http://localhost:8080"
349+
fakeiisexpress.HostStaticWebsite id (__SOURCE_DIRECTORY__ @@ @"\..\docs\output") |> ignore
350+
// Process.Start doesn't work anymore with an URI (https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.start?view=net-10.0)
351+
//fakeiisexpress.OpenUrlInBrowser "http://localhost:8080/index.html"
351352
)
352353

353354
Target.create "ReleaseDocs" (fun _ ->

0 commit comments

Comments
 (0)