patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 40957017feb68c0e0644d6d315e8459446dea607 503 bytes (raw)
name: Documentation/_plugins/site_title_link.rb 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2026 Valentin Gagarin <valentin@gagarin.work>

# Just the Docs hardcodes the site header link to `/`.
# https://github.com/just-the-docs/just-the-docs/blob/v0.10.1/_includes/components/sidebar.html#L14
# Make it point to the docs root, not the top-level site.
Jekyll::Hooks.register [:pages, :documents], :post_render do |item|
  item.output.sub!('<a href="/" class="site-title',
                   '<a href="/doc/" class="site-title')
end

debug log:

solving 4095701 ...
found 4095701 in https://inbox.spectrum-os.org/spectrum-devel/20260528090513.105612-1-valentin@gagarin.work/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260528090513.105612-1-valentin@gagarin.work/
diff --git a/Documentation/_plugins/site_title_link.rb b/Documentation/_plugins/site_title_link.rb
new file mode 100644
index 0000000..4095701

Checking patch Documentation/_plugins/site_title_link.rb...
Applied patch Documentation/_plugins/site_title_link.rb cleanly.

index at:
100644 40957017feb68c0e0644d6d315e8459446dea607	Documentation/_plugins/site_title_link.rb

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