subroutinerender_documentation
subroutine render_documentation(p, s, options)
Render the documentation and summary of each entity.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| p | type(project_t) | inout | target | the project |
| s | type(settings_t) | in | the settings | |
| options | type(markdown_options_t) | in | the Markdown options |
Calls
Source
Show the code
subroutine render_documentation(p, s, options)
type(project_t), intent(inout), target :: p !! the project
type(settings_t), intent(in) :: s !! the settings
type(markdown_options_t), intent(in) :: options !! the Markdown options
integer :: k
call progress_start('Converting Markdown', p%list%n)
!$omp parallel do schedule(dynamic, 16) num_threads(max(1, s%parallel)) default(shared)
do k = 1, p%list%n
call render_entity(p, options, k)
call progress_tick()
end do
!$omp end parallel do
call progress_finish()
end subroutine render_documentation