Set new host for docs

This commit is contained in:
Patrik Svensson 2021-04-05 17:41:18 +02:00
parent 693e1fa170
commit 8778ab1739
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
dotnet run -- preview --virtual-dir "spectre.console"
dotnet run -- preview

View File

@ -11,8 +11,7 @@ namespace Docs
public static async Task<int> Main(string[] args) =>
await Bootstrapper.Factory
.CreateWeb(args)
.AddSetting(Keys.Host, "spectreconsole.github.io")
.AddSetting(Keys.LinkRoot, "/spectre.console")
.AddSetting(Keys.Host, "spectreconsole.net")
.AddSetting(Keys.LinksUseHttps, true)
.AddSetting(Constants.EditLink, ConfigureEditLink())
.ConfigureSite("spectreconsole", "spectre.console", "main")