Documentation ¶
Index ¶
- func GenerateFiles(project *model.Project, docsOptions *options.DocsOptions) (code_generator.Files, error)
- func WriteCrossProjectDocs(genDocs *options.DocsOptions, absoluteRoot string, ...) error
- func WriteCrossProjectDocsHugo(genDocs *options.DocsOptions, absoluteRoot string, ...) error
- func WritePerProjectsDocs(project *model.Project, genDocs *options.DocsOptions, absoluteRoot string) error
- type DocsGen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFiles ¶
func GenerateFiles(project *model.Project, docsOptions *options.DocsOptions) (code_generator.Files, error)
func WriteCrossProjectDocs ¶ added in v0.10.21
func WriteCrossProjectDocs( genDocs *options.DocsOptions, absoluteRoot string, projectMap parser.ProjectMap, ) error
write docs that are produced from the content of multiple projects
func WriteCrossProjectDocsHugo ¶ added in v0.10.21
func WriteCrossProjectDocsHugo( genDocs *options.DocsOptions, absoluteRoot string, projectMap parser.ProjectMap, ) error
Hugo docs require a datafile that is used by shortcodes
func WritePerProjectsDocs ¶ added in v0.10.21
func WritePerProjectsDocs(project *model.Project, genDocs *options.DocsOptions, absoluteRoot string) error
write docs that are produced from the content of a single project
Types ¶
type DocsGen ¶
type DocsGen struct { DocsOptions options.DocsOptions Project *model.Project }
func (*DocsGen) FileHeader ¶
func (*DocsGen) GenerateFilesForProject ¶
func (d *DocsGen) GenerateFilesForProject() (code_generator.Files, error)
func (*DocsGen) GenerateFilesForProtoFiles ¶
func (d *DocsGen) GenerateFilesForProtoFiles(protoFiles []*protokit.FileDescriptor) (code_generator.Files, error)
Click to show internal directories.
Click to hide internal directories.