patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 3b931285cd7b45f3f49dbb2998c581aaf1e0f5e6 781 bytes (raw)
name: Documentation/_includes/breadcrumb.html 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2026 Valentin Gagarin <valentin@gagarin.work>
{% endcomment %}
{%- unless page.url == '/' -%}
<nav aria-label="Breadcrumb">
  <a href="/">Spectrum</a>
  {%- assign parts = page.url | split: '/' -%}
  {%- assign acc = '' -%}
  {%- for part in parts offset: 1 -%}
    {%- assign acc = acc | append: '/' | append: part -%}
    {%- assign parent_url = acc | append: '/' -%}
    {%- if parent_url == page.url -%}{%- continue -%}{%- endif -%}
    {%- assign parent = site.pages | where: 'url', parent_url | first -%}
    {%- if parent %}
    / <a href="{{ parent.url }}">{{ parent.title }}</a>
    {%- endif -%}
  {%- endfor %}
  / <span aria-current="page">{{ page.title }}</span>
</nav>
{%- endunless -%}

debug log:

solving 3b93128 ...
found 3b93128 in https://inbox.spectrum-os.org/spectrum-devel/20260616093527.388679-1-valentin@gagarin.work/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260616093527.388679-4-valentin@gagarin.work/
found f759807 in https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-7-valentin@gagarin.work/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-4-valentin@gagarin.work/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260611063724.487914-3-valentin@gagarin.work/

applying [1/2] https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-7-valentin@gagarin.work/
diff --git a/Documentation/_includes/breadcrumb.html b/Documentation/_includes/breadcrumb.html
new file mode 100644
index 0000000..f759807

Checking patch Documentation/_includes/breadcrumb.html...
Applied patch Documentation/_includes/breadcrumb.html cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-4-valentin@gagarin.work/ for f759807
skipping https://inbox.spectrum-os.org/spectrum-devel/20260611063724.487914-3-valentin@gagarin.work/ for f759807
index at:
100644 f759807aa8c0208b1d2949bb9ae9c432e472f0b4	Documentation/_includes/breadcrumb.html

applying [2/2] https://inbox.spectrum-os.org/spectrum-devel/20260616093527.388679-1-valentin@gagarin.work/
diff --git a/Documentation/_includes/breadcrumb.html b/Documentation/_includes/breadcrumb.html
index f759807..3b93128 100644

Checking patch Documentation/_includes/breadcrumb.html...
Applied patch Documentation/_includes/breadcrumb.html cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20260616093527.388679-4-valentin@gagarin.work/ for 3b93128
index at:
100644 3b931285cd7b45f3f49dbb2998c581aaf1e0f5e6	Documentation/_includes/breadcrumb.html

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).