ditamap

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapStructure

type MapStructure struct {
	Title     string
	TopicRefs []TopicRef
	RelTables []RelTable
}

func ParseMap

func ParseMap(source string) (*MapStructure, error)

func (*MapStructure) AllHrefs

func (m *MapStructure) AllHrefs() []string

type RelCell

type RelCell struct {
	TopicRefs []TopicRef
}

type RelRow

type RelRow struct {
	Cells []RelCell
}

type RelTable

type RelTable struct {
	Header []RelCell
	Rows   []RelRow
	Line   int
}

type TopicRef

type TopicRef struct {
	Href     string
	Title    string
	Children []TopicRef
	IsMapRef bool
}

Jump to

Keyboard shortcuts

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