link

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package link builds deterministic note-level forward links and backlinks from pass-2 resolved outlinks, excluding self-links so backlinks only represent relationships from other public notes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGraph

func BuildGraph(idx *model.VaultIndex, resolvedOutLinks map[string][]model.LinkRef) *model.LinkGraph

BuildGraph derives a deterministic public note link graph from pass-2 resolved outlinks.

The resolvedOutLinks map must be keyed by public source note path and contain the render-local outlinks produced during pass 2, including links merged onto the host page from embedded content. Link diagnostics are owned by resolver/render phases, so unresolved, self-referential, or non-public targets are ignored here.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL