Updated links to point to https://git.logicalhacking.com instead of GitHub and changed top-url to local directory (using file://).

This commit is contained in:
Achim D. Brucker 2018-07-26 00:08:54 +01:00
parent 8c0ef4ca8c
commit a90b7f27ee
2 changed files with 10 additions and 6 deletions

View File

@ -63,9 +63,10 @@ let gitHome = sprintf "%s/%s" "https://git.logicalhacking.com" gitOwner
let gitName = "ExtensionDsLab"
// The url for the raw files hosted
let gitRaw = Environment.environVarOrDefault "gitRaw" "https://raw.githubusercontent.com/BrowserSecurity"
// let gitRaw = Environment.environVarOrDefault "gitRaw" "https://raw.githubusercontent.com/BrowserSecurity"
let website = "/ExtensionDsLab"
// let website = "ExtensionDsLab"
let website = "file:///" @@ __SOURCE_DIRECTORY__ @@ "/../ExtensionDsLab/docs/"
// --------------------------------------------------------------------------------------
// END TODO: The rest of the file includes standard build steps
@ -185,7 +186,7 @@ let formatting = __SOURCE_DIRECTORY__ @@ "packages/formatting/FSharp.Formatting"
let docTemplate = "docpage.cshtml"
let github_release_user = Environment.environVarOrDefault "github_release_user" gitOwner
let githubLink = sprintf "https://github.com/%s/%s" github_release_user gitName
let githubLink = sprintf "https://git.logicalhacking.com/%s/%s" github_release_user gitName
// Specify more information about your project
let info =
@ -240,7 +241,8 @@ Target.create "ReferenceDocs" (fun _ ->
OutputDirectory = output @@ "reference"
LayoutRoots = layoutRootsAll.["en"]
ProjectParameters = ("root", root)::info
SourceRepository = githubLink @@ "tree/master" }
// SourceRepository = githubLink @@ "tree/master" }
SourceRepository = githubLink @@ "src/branch/master" }
)
)

View File

@ -24,7 +24,7 @@
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li><a href="http://fsharp.org">fsharp.org</a></li>
<li><a href="@Properties["project-github"]">github page</a></li>
<li><a href="@Properties["project-github"]">git page</a></li>
</ul>
<h3 class="muted"><a href="@Root/index.html">@Properties["project-name"]</a></h3>
</div>
@ -40,7 +40,7 @@
<li><a href="@Root/index.html">Home page</a></li>
<li class="divider"></li>
<li><a href="@Properties["project-nuget"]">Get Library via NuGet</a></li>
<li><a href="@Properties["project-github"]">Source Code on GitHub</a></li>
<li><a href="@Properties["project-github"]">Source Code on logicalhacking.com</a></li>
<li><a href="@Root/license.html">License</a></li>
<li><a href="@Root/release-notes.html">Release Notes</a></li>
@ -53,6 +53,8 @@
</div>
</div>
</div>
<!--
<a href="@Properties["project-github"]"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"/></a>
-->
</body>
</html>