Skip to content

Commit d6e1139

Browse files
authored
Hugo docs: Fix {{site.baseurl}} links to use relative internal links instead (#6255)
For links to internal pages, `{{site.baseurl}}` (without the leading `.`) does not work in current Hugo, and it is better to replace it by using relative links: `{{.Site.BaseURL}}` is replaced in the rendered output, but it doesn't work when viewing and editing the files using Markdown editors and viewers like on GitHub/Lab as well as IDEs with improved support for Markdown editing(in editor and preview). As the relative links work in all cases like in the editors and previews, fix those (currently broken) links to use the relative links instead. While at those, also replace the link name "here" with a more specific link name. PS: The only place were `{{.Site.BaseURL}}` or similar is needed is the link in the `logo.html` template for `img="{{.Site.BaseURL}}/images/xapi-project.png"`
2 parents 0499324 + ea9372f commit d6e1139

File tree

2 files changed

+5
-5
lines changed
  • doc/content

2 files changed

+5
-5
lines changed

doc/content/design/integrated-gpu-passthrough/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Introduction
1111
------------
1212

1313
Passthrough of discrete GPUs has been
14-
[available since XenServer 6.0]({{site.baseurl}}/xapi/design/gpu-passthrough.html).
14+
[available since XenServer 6.0](../gpu-passthrough.md).
1515
With some extensions, we will also be able to support passthrough of integrated
1616
GPUs.
1717

doc/content/toolstack/features/VGPU/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ hardware and config files present in dom0. They exist in the pool database, and
8989
a primary key is used to avoid duplication. In XenServer 6.x the tuple of
9090
`(vendor_name, model_name)` was used as the primary key, however this was not
9191
ideal as these values are subject to change. XenServer 7.0 switched to a
92-
[new primary key]({{site.baseurl}}/xapi/futures/vgpu-type-identifiers.html)
92+
[new primary key](../../../design/vgpu-type-identifiers)
9393
generated from static metadata, falling back to the old method for backwards
9494
compatibility.
9595

@@ -109,12 +109,12 @@ on PGPUs.
109109

110110
In XenServer 6.x, all VGPU config was added to the VM's `platform` field at
111111
startup, and this information was used by xenopsd to start the display emulator.
112-
See the relevant code [here][5].
112+
See the relevant code in [ocaml/xapi/vgpuops.ml][5].
113113

114114
In XenServer 7.0, to facilitate support of VGPU on Intel hardware in parallel
115115
with the existing NVIDIA support, VGPUs were made first-class objects in the
116-
xapi-xenopsd interface. The interface is described
117-
[here]({{site.baseurl}}/features/futures/gpu-support-evolution.html).
116+
xapi-xenopsd interface. The interface is described in the design document on
117+
the [GPU support evolution](../../../design/gpu-support-evolution).
118118

119119
## VM startup
120120

0 commit comments

Comments
 (0)