Skip to content

Commit

Permalink
(doc) Modify Wyam build/publish settings
Browse files Browse the repository at this point in the history
To remove the virtual directory that is being used, in favour of running
directly out of the root of GitHub pages.
  • Loading branch information
gep13 committed Dec 21, 2019
1 parent 3228754 commit 09afd33
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build/wyam.cake
Expand Up @@ -17,11 +17,9 @@ Task("Preview-Documentation")
Preview = true,
Watch = true,
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
PreviewVirtualDirectory = "GitVersion",
Settings = new Dictionary<string, object>
{
{ "Host", "gittools.github.io" },
{ "LinkRoot", "GitVersion" },
{ "BaseEditUrl", "https://github.com/gittools/GitVersion/tree/master/docs/input/" },
{ "SourceFiles", MakeAbsolute(parameters.Paths.Directories.Source) + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" },
{ "Title", "GitVersion" },
Expand All @@ -42,11 +40,8 @@ Task("Force-Publish-Documentation")
OutputPath = MakeAbsolute(Directory("artifacts/Documentation")),
RootPath = MakeAbsolute(Directory("docs")),
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
PreviewVirtualDirectory = "GitVersion",
Settings = new Dictionary<string, object>
{
{ "Host", "gittools.github.io" },
{ "LinkRoot", "GitVersion" },
{ "BaseEditUrl", "https://github.com/gittools/GitVersion/tree/master/docs/input/" },
{ "SourceFiles", MakeAbsolute(parameters.Paths.Directories.Source) + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" },
{ "Title", "GitVersion" },
Expand Down Expand Up @@ -98,11 +93,8 @@ Task("Publish-Documentation")
OutputPath = MakeAbsolute(Directory("artifacts/Documentation")),
RootPath = MakeAbsolute(Directory("docs")),
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
PreviewVirtualDirectory = "GitVersion",
Settings = new Dictionary<string, object>
{
{ "Host", "gittools.github.io" },
{ "LinkRoot", "GitVersion" },
{ "BaseEditUrl", "https://github.com/gittools/GitVersion/tree/master/docs/input/" },
{ "SourceFiles", MakeAbsolute(parameters.Paths.Directories.Source) + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" },
{ "Title", "GitVersion" },
Expand Down

0 comments on commit 09afd33

Please sign in to comment.