Tungsten v0.1.0 Tungsten.Codegen.Documentation View Source
Generates documentation for modules, functions and types
Link to this section Summary
Functions
Generates docs for a given Tungsten.Codegen.Command
Generates a @moduledoc for a given Tungsten.Codegen.Domain
Generates docs for a given Tungsten.Codegen.DomainType
Helper method that provides a link to relevant documentation for the given spec
Link to this section Functions
Link to this function
generate_command_docs(command)
View Source
generate_command_docs(command)
View Source
generate_command_docs(Tungsten.Codegen.Command.t()) :: String.t()
generate_command_docs(Tungsten.Codegen.Command.t()) :: String.t()
Generates docs for a given Tungsten.Codegen.Command
Link to this function
generate_domain_moduledoc(domain)
View Source
generate_domain_moduledoc(domain)
View Source
generate_domain_moduledoc(Tungsten.Codegen.Domain.t()) :: Macro.t()
generate_domain_moduledoc(Tungsten.Codegen.Domain.t()) :: Macro.t()
Generates a @moduledoc for a given Tungsten.Codegen.Domain
Link to this function
generate_domain_type_typedoc(domain_type)
View Source
generate_domain_type_typedoc(domain_type)
View Source
generate_domain_type_typedoc(Tungsten.Codegen.DomainType.t()) :: String.t()
generate_domain_type_typedoc(Tungsten.Codegen.DomainType.t()) :: String.t()
Generates docs for a given Tungsten.Codegen.DomainType
Link to this function
link_to_docs(spec)
View Source
link_to_docs(spec)
View Source
link_to_docs(
Tungsten.Codegen.Command.t()
| Tungsten.Codegen.Domain.t()
| any()
) :: nil | String.t()
link_to_docs( Tungsten.Codegen.Command.t() | Tungsten.Codegen.Domain.t() | any() ) :: nil | String.t()
Helper method that provides a link to relevant documentation for the given spec