user guide: fix inter-page links

This commit is contained in:
Josh Holtrop 2019-06-23 17:29:50 -04:00
parent 02ef6e0846
commit 9bf0abbece

View File

@ -176,7 +176,7 @@ class Generator
section.title == section_name section.title == section_name
end end
raise "Could not find section #{section_name}" unless section raise "Could not find section #{section_name}" unless section
"#{section.page}##{section.anchor}" "#{section.page}.html##{section.anchor}"
end end
def gather_code_section(syntax) def gather_code_section(syntax)