subroutinewarn_unsupportedprivate
subroutine warn_unsupported(s)
Warn about settings that are read but have no effect.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| s | type(settings_t) | in | the settings |
Calls
Source
Show the code
subroutine warn_unsupported(s)
type(settings_t), intent(in) :: s !! the settings
integer :: k
if (size(s%html_template_dir) > 0) call warn('html_template_dir has no effect: fdoc does not use templates')
do k = 1, size(s%md_extensions)
select case (s%md_extensions(k)%s)
case ('markdown.extensions.toc', 'toc', 'markdown.extensions.smarty', 'smarty')
continue
case default
call warn('md_extensions: '//s%md_extensions(k)%s//' is not available, only toc and smarty')
end select
end do
end subroutine warn_unsupported