All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Quentin Schulz" <quentin.schulz@streamunlimited.com>
To: Quentin Schulz <foss@0leil.net>
Cc: docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH 2/2] docs: fix broken links
Date: Fri, 18 Sep 2020 10:22:27 +0200	[thread overview]
Message-ID: <20200918082227.4tmksf2ot5omitg2@qschulz> (raw)
In-Reply-To: <20200917210947.51974-2-foss@0leil.net>

On Thu, Sep 17, 2020 at 11:09:47PM +0200, Quentin Schulz wrote:
[...]
>  1. *Access the Index of Releases:* Open a browser and go to
> -   :yocto_dl:`Index of Releases <releases>`. The
> +   :yocto_dl:`Index of Releases </releases>`. The

All those broken links could be mitigated by having:

extlinks = {
-    'yocto_home': ('https://yoctoproject.org%s', None),
+    'yocto_home': ('https://yoctoproject.org/%s', None),
}

in documentation/conf.py.

But then you need to change all links using this "macro") so that they
don't have a double slash after the domain name :/

At least with this patch it's consistent (and working :) ) but still
error-prone.

Quentin

  reply	other threads:[~2020-09-18  8:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 21:09 [PATCH 1/2] docs: static: theme_overrides.css: fix responsive design on <640px screens Quentin Schulz
2020-09-17 21:09 ` [PATCH 2/2] docs: fix broken links Quentin Schulz
2020-09-18  8:22   ` Quentin Schulz [this message]
2020-09-18  8:59     ` [docs] " Nicolas Dechesne
2020-09-17 21:47 ` [docs] [PATCH 1/2] docs: static: theme_overrides.css: fix responsive design on <640px screens Nicolas Dechesne
2020-09-18  8:14   ` Quentin Schulz
2020-10-26 17:47     ` Quentin Schulz
2020-10-26 18:00       ` Nicolas Dechesne

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=20200918082227.4tmksf2ot5omitg2@qschulz \
    --to=quentin.schulz@streamunlimited.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=foss@0leil.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.