Skip to content

Commit 09afd33

Browse files
committed
(doc) Modify Wyam build/publish settings
To remove the virtual directory that is being used, in favour of running directly out of the root of GitHub pages.
1 parent 3228754 commit 09afd33

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

build/wyam.cake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ Task("Preview-Documentation")
1717
Preview = true,
1818
Watch = true,
1919
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
20-
PreviewVirtualDirectory = "GitVersion",
2120
Settings = new Dictionary<string, object>
2221
{
2322
{ "Host", "gittools.github.io" },
24-
{ "LinkRoot", "GitVersion" },
2523
{ "BaseEditUrl", "https://github.com/gittools/GitVersion/tree/master/docs/input/" },
2624
{ "SourceFiles", MakeAbsolute(parameters.Paths.Directories.Source) + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" },
2725
{ "Title", "GitVersion" },
@@ -42,11 +40,8 @@ Task("Force-Publish-Documentation")
4240
OutputPath = MakeAbsolute(Directory("artifacts/Documentation")),
4341
RootPath = MakeAbsolute(Directory("docs")),
4442
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
45-
PreviewVirtualDirectory = "GitVersion",
4643
Settings = new Dictionary<string, object>
4744
{
48-
{ "Host", "gittools.github.io" },
49-
{ "LinkRoot", "GitVersion" },
5045
{ "BaseEditUrl", "https://github.com/gittools/GitVersion/tree/master/docs/input/" },
5146
{ "SourceFiles", MakeAbsolute(parameters.Paths.Directories.Source) + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" },
5247
{ "Title", "GitVersion" },
@@ -98,11 +93,8 @@ Task("Publish-Documentation")
9893
OutputPath = MakeAbsolute(Directory("artifacts/Documentation")),
9994
RootPath = MakeAbsolute(Directory("docs")),
10095
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
101-
PreviewVirtualDirectory = "GitVersion",
10296
Settings = new Dictionary<string, object>
10397
{
104-
{ "Host", "gittools.github.io" },
105-
{ "LinkRoot", "GitVersion" },
10698
{ "BaseEditUrl", "https://github.com/gittools/GitVersion/tree/master/docs/input/" },
10799
{ "SourceFiles", MakeAbsolute(parameters.Paths.Directories.Source) + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" },
108100
{ "Title", "GitVersion" },

0 commit comments

Comments
 (0)