Help us shape the future of Go! Take the 2026 Go Developer Survey

docs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package docs indexes Markdown/ADR files and links them to code symbols (SYN-20).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Link(opts LinkOptions) (int, error)

Link scans indexed markdown file contents and creates documents edges to code.

func ListDocFiles

func ListDocFiles(root string, ignoreDirNames []string) ([]string, error)

ListDocFiles returns absolute paths of Markdown docs under root.

func ParseFile

func ParseFile(absPath, relPath string) (parse.Result, error)

ParseFile maps a markdown file into parse IR (doc + heading nodes).

Types

type LinkOptions

type LinkOptions struct {
	Root  string
	Store graph.Store
	Repo  string
}

LinkOptions configure the post-index documentation linker.

Jump to

Keyboard shortcuts

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