@@ -164,7 +164,7 @@ def avail_cfgfile_constants_md(go_cfg_constants):
164164 for section in go_cfg_constants :
165165 if section != go_cfg_constants ['DEFAULT' ]:
166166 doc .extend ([
167- "### Only in '%s' section:" % section ,
167+ "## Only in '%s' section:" % section ,
168168 '' ,
169169 ])
170170 table_titles = ["Constant name" , "Constant help" , "Constant value" ]
@@ -565,8 +565,8 @@ def avail_easyconfig_templates_md():
565565 doc .extend (md_title_and_table (title , table_titles , table_values , title_level = 2 ))
566566 doc .append ('' )
567567
568- title = 'Template names/values as set in easyconfig'
569- doc .extend ([title , '-' * len ( title ), ' ' ])
568+ title = '## Template names/values as set in easyconfig'
569+ doc .extend ([title , '' ])
570570 for name in TEMPLATE_NAMES_CONFIG :
571571 doc .append ('* ``%%(%s)s``' % name )
572572 doc .append ('' )
@@ -812,7 +812,7 @@ def list_software_md(software, detailed=True):
812812 letter = key [0 ].lower ()
813813 lines .extend ([
814814 '' ,
815- "### %s" % letter .upper (),
815+ "## %s" % letter .upper (),
816816 '' ,
817817 ])
818818
@@ -1326,7 +1326,7 @@ def gen_easyblock_doc_section_md(eb_class, path_to_examples, common_params, doc_
13261326 for base in eb_class .__bases__ :
13271327 bname = base .__name__
13281328 if base in all_eb_classes :
1329- bases .append ("<a href='# " + bname . lower () + "'>`` " + bname + "``</a> " )
1329+ bases .append ("[`` " + bname + "``](# " + bname . lower () + ") " )
13301330 else :
13311331 bases .append ('``' + bname + '``' )
13321332
0 commit comments