public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Sterz <s.sterz@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 3/3] docs: make logo path and index link absolute
Date: Wed,  5 Apr 2023 10:12:09 +0200	[thread overview]
Message-ID: <20230405081209.543499-4-s.sterz@proxmox.com> (raw)
In-Reply-To: <20230405081209.543499-1-s.sterz@proxmox.com>

the relative path failed as some pages are more deeply nested, such as
the man page for `proxmox-tape`. this meant that on these pages the
logo wouldn't be displayed correctly and the link lead to a non-
existent file.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
---
 docs/_templates/sidebar-header.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/_templates/sidebar-header.html b/docs/_templates/sidebar-header.html
index 61a381d0..75518b99 100644
--- a/docs/_templates/sidebar-header.html
+++ b/docs/_templates/sidebar-header.html
@@ -1,7 +1,7 @@
  <p class="logo">
-    <a href="index.html">
-        <img class="logo" src="_static/proxmox-logo.svg" alt="Logo">
+    <a href="/docs/index.html">
+        <img class="logo" src="/docs/_static/proxmox-logo.svg" alt="Logo">
     </a>
 </p>
-<h1 class="logo logo-name"><a href="index.html">Proxmox Backup</a></h1>
+<h1 class="logo logo-name"><a href="/docs/index.html">Proxmox Backup</a></h1>
 <hr style="width:100%;">
-- 
2.30.2





  parent reply	other threads:[~2023-04-05  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05  8:12 [pbs-devel] [PATCH proxmox-backup 0/3] Proxmox Dark Theme - PBS Doc Fix-ups Stefan Sterz
2023-04-05  8:12 ` [pbs-devel] [PATCH proxmox-backup 1/3] docs: make dark mode variables more consistent Stefan Sterz
2023-04-05  8:12 ` [pbs-devel] [PATCH proxmox-backup 2/3] docs: dark theme, dim borders and minor fixups Stefan Sterz
2023-04-05  8:12 ` Stefan Sterz [this message]
2023-04-06  6:50 ` [pbs-devel] applied-series: [PATCH proxmox-backup 0/3] Proxmox Dark Theme - PBS Doc Fix-ups Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230405081209.543499-4-s.sterz@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal