mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00
Potential fix for link root (skip-ci)
This commit is contained in:
parent
c546835198
commit
21c210dc8a
5
.github/workflows/docs.yaml
vendored
5
.github/workflows/docs.yaml
vendored
@ -1,6 +1,9 @@
|
|||||||
name: Deploy Documentation
|
name: Deploy Documentation
|
||||||
on:
|
on:
|
||||||
workflow_dispatch
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -11,7 +11,8 @@ namespace Docs
|
|||||||
public static async Task<int> Main(string[] args) =>
|
public static async Task<int> Main(string[] args) =>
|
||||||
await Bootstrapper.Factory
|
await Bootstrapper.Factory
|
||||||
.CreateWeb(args)
|
.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(Keys.LinksUseHttps, true)
|
||||||
.AddSetting(Constants.EditLink, ConfigureEditLink())
|
.AddSetting(Constants.EditLink, ConfigureEditLink())
|
||||||
.ConfigureSite("spectresystems", "spectre.console", "main")
|
.ConfigureSite("spectresystems", "spectre.console", "main")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user