patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH www] impressum: fix broken relative paths in subdirectories
@ 2025-12-26  3:17 Angel J
  2025-12-26 20:37 ` Demi Marie Obenour
  2026-02-02 13:29 ` Alyssa Ross
  0 siblings, 2 replies; 6+ messages in thread
From: Angel J @ 2025-12-26  3:17 UTC (permalink / raw)
  To: devel; +Cc: Angel J

Signed-off-by: Angel J <iamanaws@httpd.dev>
---
 logo/index.html                      | 2 +-
 software/cloud-hypervisor/index.html | 2 +-
 software/index.html                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/logo/index.html b/logo/index.html
index 0750053..2471cf9 100644
--- a/logo/index.html
+++ b/logo/index.html
@@ -61,4 +61,4 @@ by the Free Software Foundation; with no Invariant Sections, no
 Front-Cover Texts, and no Back-Cover Texts.</small>
 
 <p>
-<a href="impressum.html" lang="de"><small>Impressum</small></a>
+<a href="../impressum.html" lang="de"><small>Impressum</small></a>
diff --git a/software/cloud-hypervisor/index.html b/software/cloud-hypervisor/index.html
index 2fef585..0bda4a7 100644
--- a/software/cloud-hypervisor/index.html
+++ b/software/cloud-hypervisor/index.html
@@ -177,4 +177,4 @@ by the Free Software Foundation; with no Invariant Sections, no
 Front-Cover Texts, and no Back-Cover Texts.</small>
 
 <p>
-<a href="impressum.html" lang="de"><small>Impressum</small></a>
+<a href="../../impressum.html" lang="de"><small>Impressum</small></a>
diff --git a/software/index.html b/software/index.html
index a05e177..2a8a852 100644
--- a/software/index.html
+++ b/software/index.html
@@ -38,4 +38,4 @@ by the Free Software Foundation; with no Invariant Sections, no
 Front-Cover Texts, and no Back-Cover Texts.</small>
 
 <p>
-<a href="impressum.html" lang="de"><small>Impressum</small></a>
+<a href="../impressum.html" lang="de"><small>Impressum</small></a>
-- 
2.51.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH www] impressum: fix broken relative paths in subdirectories
  2025-12-26  3:17 [PATCH www] impressum: fix broken relative paths in subdirectories Angel J
@ 2025-12-26 20:37 ` Demi Marie Obenour
  2025-12-27  7:09   ` Johannes Süllner
  2025-12-28 21:33   ` Alyssa Ross
  2026-02-02 13:29 ` Alyssa Ross
  1 sibling, 2 replies; 6+ messages in thread
From: Demi Marie Obenour @ 2025-12-26 20:37 UTC (permalink / raw)
  To: Angel J, devel


[-- Attachment #1.1.1: Type: text/plain, Size: 1922 bytes --]

On 12/25/25 22:17, Angel J wrote:
> Signed-off-by: Angel J <iamanaws@httpd.dev>
> ---
>  logo/index.html                      | 2 +-
>  software/cloud-hypervisor/index.html | 2 +-
>  software/index.html                  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/logo/index.html b/logo/index.html
> index 0750053..2471cf9 100644
> --- a/logo/index.html
> +++ b/logo/index.html
> @@ -61,4 +61,4 @@ by the Free Software Foundation; with no Invariant Sections, no
>  Front-Cover Texts, and no Back-Cover Texts.</small>
>  
>  <p>
> -<a href="impressum.html" lang="de"><small>Impressum</small></a>
> +<a href="../impressum.html" lang="de"><small>Impressum</small></a>
> diff --git a/software/cloud-hypervisor/index.html b/software/cloud-hypervisor/index.html
> index 2fef585..0bda4a7 100644
> --- a/software/cloud-hypervisor/index.html
> +++ b/software/cloud-hypervisor/index.html
> @@ -177,4 +177,4 @@ by the Free Software Foundation; with no Invariant Sections, no
>  Front-Cover Texts, and no Back-Cover Texts.</small>
>  
>  <p>
> -<a href="impressum.html" lang="de"><small>Impressum</small></a>
> +<a href="../../impressum.html" lang="de"><small>Impressum</small></a>
> diff --git a/software/index.html b/software/index.html
> index a05e177..2a8a852 100644
> --- a/software/index.html
> +++ b/software/index.html
> @@ -38,4 +38,4 @@ by the Free Software Foundation; with no Invariant Sections, no
>  Front-Cover Texts, and no Back-Cover Texts.</small>
>  
>  <p>
> -<a href="impressum.html" lang="de"><small>Impressum</small></a>
> +<a href="../impressum.html" lang="de"><small>Impressum</small></a>

Nice catch!  I wonder if automation can reduce the chance of similar
problems.  Could a template engine be used to reduce repetition?
Or at least check that all of the internal links are valid?
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH www] impressum: fix broken relative paths in subdirectories
  2025-12-26 20:37 ` Demi Marie Obenour
@ 2025-12-27  7:09   ` Johannes Süllner
  2025-12-28 21:34     ` Alyssa Ross
  2025-12-28 21:33   ` Alyssa Ross
  1 sibling, 1 reply; 6+ messages in thread
From: Johannes Süllner @ 2025-12-27  7:09 UTC (permalink / raw)
  To: Demi Marie Obenour, Angel J, devel

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

On Fri Dec 26, 2025 at 9:37 PM CET, Demi Marie Obenour wrote:
> Nice catch!  I wonder if automation can reduce the chance of similar
> problems.  Could a template engine be used to reduce repetition?
> Or at least check that all of the internal links are valid?

I wondered the same after finding these broken links recently (I just
procrastinated sending a patch), and looked for tools to find broken
links. I found a few, the one I liked most is lychee
(https://github.com/lycheeverse/lychee).

Using Nix, it can be run on the homepage repository as follows:
  nix-shell -p lychee --run 'lychee --root-dir $PWD .'

Doing this, some broken external links can also be found.
Some external links are being reported as broken erroneously for me,
namely to gnu.org and doi.org.
However, there are also two links which are broken:
  1. On logo/index.html: https://hazelnot.xyz/
  2. On motivation.html: https://docs.saltstack.com/en/latest/

The website of Hazelnot seems to be offline since about June 2024, see
https://web.archive.org/web/20240301000000*/https://hazelnot.xyz/
The documentation of Saltstack moved to a new domain.
Qubes moved their docs too, although they have redirects in place.
I have a patch for this already which will follow in a minute.

Regarding the broken internal links, I wonder if we would be better
off using absolute links to avoid copy-paste errors in the future?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 269 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH www] impressum: fix broken relative paths in subdirectories
  2025-12-26 20:37 ` Demi Marie Obenour
  2025-12-27  7:09   ` Johannes Süllner
@ 2025-12-28 21:33   ` Alyssa Ross
  1 sibling, 0 replies; 6+ messages in thread
From: Alyssa Ross @ 2025-12-28 21:33 UTC (permalink / raw)
  To: Demi Marie Obenour; +Cc: Angel J, devel

[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

Demi Marie Obenour <demiobenour@gmail.com> writes:

> On 12/25/25 22:17, Angel J wrote:
>> Signed-off-by: Angel J <iamanaws@httpd.dev>
>> ---
>>  logo/index.html                      | 2 +-
>>  software/cloud-hypervisor/index.html | 2 +-
>>  software/index.html                  | 2 +-
>>  3 files changed, 3 insertions(+), 3 deletions(-)
>> 
>> diff --git a/logo/index.html b/logo/index.html
>> index 0750053..2471cf9 100644
>> --- a/logo/index.html
>> +++ b/logo/index.html
>> @@ -61,4 +61,4 @@ by the Free Software Foundation; with no Invariant Sections, no
>>  Front-Cover Texts, and no Back-Cover Texts.</small>
>>  
>>  <p>
>> -<a href="impressum.html" lang="de"><small>Impressum</small></a>
>> +<a href="../impressum.html" lang="de"><small>Impressum</small></a>
>> diff --git a/software/cloud-hypervisor/index.html b/software/cloud-hypervisor/index.html
>> index 2fef585..0bda4a7 100644
>> --- a/software/cloud-hypervisor/index.html
>> +++ b/software/cloud-hypervisor/index.html
>> @@ -177,4 +177,4 @@ by the Free Software Foundation; with no Invariant Sections, no
>>  Front-Cover Texts, and no Back-Cover Texts.</small>
>>  
>>  <p>
>> -<a href="impressum.html" lang="de"><small>Impressum</small></a>
>> +<a href="../../impressum.html" lang="de"><small>Impressum</small></a>
>> diff --git a/software/index.html b/software/index.html
>> index a05e177..2a8a852 100644
>> --- a/software/index.html
>> +++ b/software/index.html
>> @@ -38,4 +38,4 @@ by the Free Software Foundation; with no Invariant Sections, no
>>  Front-Cover Texts, and no Back-Cover Texts.</small>
>>  
>>  <p>
>> -<a href="impressum.html" lang="de"><small>Impressum</small></a>
>> +<a href="../impressum.html" lang="de"><small>Impressum</small></a>
>
> Nice catch!  I wonder if automation can reduce the chance of similar
> problems.  Could a template engine be used to reduce repetition?
> Or at least check that all of the internal links are valid?

You don't need a template engine for that!  Take a look at
release/checks/doc-links.nix in Spectrum, which checks internal links in
the Spectrum documentation.

It might be good to unify the documentation with the rest of the
website, but I'm not sure yet.  It feels a bit weird to have stuff that
isn't about the Spectrum system inside the spectrum repo.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH www] impressum: fix broken relative paths in subdirectories
  2025-12-27  7:09   ` Johannes Süllner
@ 2025-12-28 21:34     ` Alyssa Ross
  0 siblings, 0 replies; 6+ messages in thread
From: Alyssa Ross @ 2025-12-28 21:34 UTC (permalink / raw)
  To: Johannes Süllner; +Cc: Demi Marie Obenour, Angel J, devel

[-- Attachment #1: Type: text/plain, Size: 1762 bytes --]

Johannes Süllner <johannes.suellner@mailbox.org> writes:

> On Fri Dec 26, 2025 at 9:37 PM CET, Demi Marie Obenour wrote:
>> Nice catch!  I wonder if automation can reduce the chance of similar
>> problems.  Could a template engine be used to reduce repetition?
>> Or at least check that all of the internal links are valid?
>
> I wondered the same after finding these broken links recently (I just
> procrastinated sending a patch), and looked for tools to find broken
> links. I found a few, the one I liked most is lychee
> (https://github.com/lycheeverse/lychee).
>
> Using Nix, it can be run on the homepage repository as follows:
>   nix-shell -p lychee --run 'lychee --root-dir $PWD .'
>
> Doing this, some broken external links can also be found.
> Some external links are being reported as broken erroneously for me,
> namely to gnu.org and doi.org.
> However, there are also two links which are broken:
>   1. On logo/index.html: https://hazelnot.xyz/
>   2. On motivation.html: https://docs.saltstack.com/en/latest/
>
> The website of Hazelnot seems to be offline since about June 2024, see
> https://web.archive.org/web/20240301000000*/https://hazelnot.xyz/
> The documentation of Saltstack moved to a new domain.
> Qubes moved their docs too, although they have redirects in place.
> I have a patch for this already which will follow in a minute.
>
> Regarding the broken internal links, I wonder if we would be better
> off using absolute links to avoid copy-paste errors in the future?

That would prevent navigating the website locally during development, so
I'd rather not.  It probably does make sense to move to a static site
generator at some point though, especially if the website acquires more
content.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH www] impressum: fix broken relative paths in subdirectories
  2025-12-26  3:17 [PATCH www] impressum: fix broken relative paths in subdirectories Angel J
  2025-12-26 20:37 ` Demi Marie Obenour
@ 2026-02-02 13:29 ` Alyssa Ross
  1 sibling, 0 replies; 6+ messages in thread
From: Alyssa Ross @ 2026-02-02 13:29 UTC (permalink / raw)
  To: Angel J; +Cc: devel

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

Angel J <iamanaws@httpd.dev> writes:

> Signed-off-by: Angel J <iamanaws@httpd.dev>
> ---
>  logo/index.html                      | 2 +-
>  software/cloud-hypervisor/index.html | 2 +-
>  software/index.html                  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Applied, thank you!  Sorry it took me a while.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-02 13:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-26  3:17 [PATCH www] impressum: fix broken relative paths in subdirectories Angel J
2025-12-26 20:37 ` Demi Marie Obenour
2025-12-27  7:09   ` Johannes Süllner
2025-12-28 21:34     ` Alyssa Ross
2025-12-28 21:33   ` Alyssa Ross
2026-02-02 13:29 ` Alyssa Ross

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).