sources

package
v0.0.0-...-9b0da18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OtherRoleMap

type OtherRoleMap map[string]string

OtherRoleMap contains other roles from rstspec.toml, like guilabel

type RawRstSpec

type RawRstSpec struct {
	Roles      map[string]interface{} `toml:"role"`
	RstObjects map[string]interface{} `toml:"rstobject"`
	Directives map[string]interface{} `toml:"directive"`
}

type RolesMap

type RolesMap map[string]string

RolesMap contains roles from rstspec.toml

type RstSpec

type RstSpec struct {
	Roles      RolesMap
	RawRoles   map[string]bool
	Directives map[string]bool
	RstObjects map[string]bool
}

func NewRoleMap

func NewRoleMap(input []byte) *RstSpec

type TomlConfig

type TomlConfig struct {
	Name        string            `toml:"name"`
	Title       string            `toml:"title"`
	Constants   map[string]string `toml:"constants"`
	Intersphinx []string          `toml:"intersphinx"`
	SharedPath  string            `toml:"sharedinclude_root"`
}

func NewTomlConfig

func NewTomlConfig(input []byte) (*TomlConfig, error)

Jump to

Keyboard shortcuts

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