fix another source of broken links inserted into processed files

This commit is contained in:
Axel Kohlmeyer
2018-08-22 21:33:40 -04:00
parent 2d6d635ce0
commit 5da714bcc8

View File

@ -64,7 +64,7 @@ def filter_file_header_until_first_horizontal_line(content):
common_links = "\n.. _lws: http://lammps.sandia.gov\n" \ common_links = "\n.. _lws: http://lammps.sandia.gov\n" \
".. _ld: Manual.html\n" \ ".. _ld: Manual.html\n" \
".. _lc: Section_commands.html#comm\n" ".. _lc: Commands_all.html\n"
if first_hr >= 0: if first_hr >= 0:
return content[first_hr+len(hr):].lstrip() + common_links return content[first_hr+len(hr):].lstrip() + common_links