@robinmordasiewicz/f5xc-docs-theme 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,9 @@ function findTrail(entries: typeof sidebar, trail: { label: string }[] = []): {
18
18
  }
19
19
 
20
20
  const trail = findTrail(sidebar) || [];
21
+ const fixedEditUrl = editUrl
22
+ ? editUrl.href.replace('/src/content/docs/', '/docs/')
23
+ : undefined;
21
24
  ---
22
25
 
23
26
  <nav class="breadcrumbs" aria-label="Breadcrumb">
@@ -29,8 +32,8 @@ const trail = findTrail(sidebar) || [];
29
32
  ))}
30
33
  <li aria-current="page"><span>{entry.data.title}</span></li>
31
34
  </ol>
32
- {editUrl && (
33
- <a href={editUrl.href} target="_blank" rel="noopener noreferrer" class="edit-link">
35
+ {fixedEditUrl && (
36
+ <a href={fixedEditUrl} target="_blank" rel="noopener noreferrer" class="edit-link">
34
37
  <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24"
35
38
  fill="none" stroke="currentColor" stroke-width="2"
36
39
  stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinmordasiewicz/f5xc-docs-theme",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "F5 Distributed Cloud branded Starlight documentation theme",
5
5
  "type": "module",
6
6
  "license": "MIT",