Issue 101: Add documention templates #35
Annotations
2 errors and 1 warning
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/1HwWe/src/DocSystem.jl#L292
parsedoc failed to parse a docstring into Markdown. This indicates a problem with the docstring.
exception =
MethodError: no method matching fieldnames(::typeof(EpiAware.neg_MGF))
Closest candidates are:
fieldnames(!Matched::Core.TypeofBottom)
@ Base reflection.jl:170
fieldnames(!Matched::Type{<:Tuple})
@ Base reflection.jl:172
fieldnames(!Matched::UnionAll)
@ Base reflection.jl:169
...
docstr.data =
Dict{Symbol, Any} with 5 entries:
:typesig => Tuple{Any, AbstractVector}
:module => EpiAware
:linenumber => 119
:binding => EpiAware.neg_MGF
:path => "/home/runner/work/Rt-without-renewal/Rt-without-renewal/src/utilities.jl"
collect(docstr.text) =
3-element Vector{Any}:
DocStringExtensions.Template{:before}(Dict{Symbol, Vector{Any}}(:METHODS => [DocStringExtensions.FunctionName(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n# Signatures\n", DocStringExtensions.TypedMethodSignatures(), "\n---\n## Methods\n", DocStringExtensions.MethodList(), "\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"], :MACROS => [DocStringExtensions.FunctionName(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n# Signatures\n", DocStringExtensions.TypedMethodSignatures(), "\n---\n## Methods\n", DocStringExtensions.MethodList(), "\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"], :FUNCTIONS => [DocStringExtensions.FunctionName(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n# Signatures\n", DocStringExtensions.TypedMethodSignatures(), "\n---\n## Methods\n", DocStringExtensions.MethodList(), "\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"], :MODULES => [DocStringExtensions.DocStringTemplate(), "\n\n---\n## Exports\n", DocStringExtensions.ModuleExports(), "\n---\n## Imports\n", DocStringExtensions.ModuleImports(), "\n"], :TYPES => [DocStringExtensions.TypeDefinition(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"]))
" neg_MGF(r, w::AbstractVector)\n\nCompute the negative moment generating function (MGF) for a given rate `r` and weights `w`.\n\n# Arguments\n- `r`: The rate parameter.\n- `w`: An abstract vector of weights.\n\n# Returns\nThe value of the negative MGF.\n\n"
DocStringExtensions.Template{:after}(Dict{Symbol, Vector{Any}}(:METHODS => [DocStringExtensions.FunctionName(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n# Signatures\n", DocStringExtensions.TypedMethodSignatures(), "\n---\n## Methods\n", DocStringExtensions.MethodList(), "\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"], :MACROS => [DocStringExtensions.FunctionName(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n# Signatures\n", DocStringExtensions.TypedMethodSignatures(), "\n---\n## Methods\n", DocStringExtensions.MethodList(), "\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"], :FUNCTIONS => [DocStringExtensions.FunctionName(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n# Signatures\n", DocStringExtensions.TypedMethodSignatures(), "\n---\n## Methods\n", DocStringExtensions.MethodList(), "\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"], :MODULES => [DocStringExtensions.DocStringTemplate(), "\n\n---\n## Exports\n", DocStringExtensions.ModuleExports(), "\n---\n## Imports\n", DocStringExtensions.ModuleImports(), "\n"], :TYPES => [DocStringExtensions.TypeDefinition(), "\n", DocStringExtensions.DocStringTemplate(), "\n\n---\n## Fields\n", DocStringExtensions.TypeFields(true), "\n"]))
docstr.object = nothing
|
Run julia-actions/julia-docdeploy@v1
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading