Potential fix for link root (skip-ci)

This commit is contained in:
Patrik Svensson 2020-08-27 16:03:01 +02:00
parent c546835198
commit 21c210dc8a
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,9 @@
name: Deploy Documentation
on:
workflow_dispatch
workflow_dispatch:
push:
paths:
- 'docs/**'
jobs:
build:

View File

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