rendering

package
v0.0.0-...-1c4df2c Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeveloperGuideName     = "Developer Guide"
	DeveloperGuideFilename = "guides/developer.md"
)
View Source
const (
	GraduationCriteriaName     = "Graduation Criteria"
	GraduationCriteriaFilename = "graduation_criteria.md"
)
View Source
const (
	MotivationName     = "Motivation"
	MotivationFilename = "motivation.md"
)
View Source
const (
	OperatorGuideName     = "Operator Guide"
	OperatorGuideFilename = "guides/operator.md"
)
View Source
const (
	ReadmeName     = "README"
	ReadmeFilename = "README.md"
)
View Source
const (
	SummaryName     = "Summary"
	SummaryFilename = "summary.md"
)
View Source
const (
	TeacherGuideName     = "Teacher Guide"
	TeacherGuideFilename = "guides/teacher.md"
)

Variables

This section is empty.

Functions

func NameForFilename

func NameForFilename(filename string) string

TODO move after all tests green

func NewDeveloperGuide

func NewDeveloperGuide(info InfoProvider) ([]byte, error)

func NewGraduationCriteria

func NewGraduationCriteria(info InfoProvider) ([]byte, error)

func NewMotivation

func NewMotivation(info InfoProvider) ([]byte, error)

func NewOperatorGuide

func NewOperatorGuide(info InfoProvider) ([]byte, error)

func NewReadme

func NewReadme(info InfoProvider) ([]byte, error)

func NewSummary

func NewSummary(info InfoProvider) ([]byte, error)

func NewTeacherGuide

func NewTeacherGuide(info InfoProvider) ([]byte, error)

Types

type InfoProvider

type InfoProvider interface {
	Title() string
	Authors() []string
	OwningSIG() string
	State() states.Name
	ContentDir() string
	LastUpdated() time.Time
	SectionLocations() []string
}

type SectionProvider

type SectionProvider interface {
	Name() string
	Filename() string
	Content() []byte
}

TODO delete this interface if unused

Jump to

Keyboard shortcuts

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