mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-08 20:21:12 -06:00
Add flowcharts to menu (#193)
This commit is contained in:
committed by
GitHub
parent
35916c15f7
commit
40d37f0df6
@@ -70,7 +70,7 @@ class ModifyBuild
|
|||||||
end
|
end
|
||||||
|
|
||||||
def is_list_figures_tables?(filename)
|
def is_list_figures_tables?(filename)
|
||||||
["listfigurename.html", "listtablename.html"].any? do |name|
|
["listfigurename.html", "listtablename.html", "listoflocname.html"].any? do |name|
|
||||||
filename.include?(name)
|
filename.include?(name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -232,7 +232,16 @@ class ModifyBuild
|
|||||||
return text if menu.nil?
|
return text if menu.nil?
|
||||||
|
|
||||||
home_html = %Q{<span class="chapterToc home-link"><a href="/">Home</a></span>}
|
home_html = %Q{<span class="chapterToc home-link"><a href="/">Home</a></span>}
|
||||||
|
# Normally the flowcharts link should be automatically added, but there
|
||||||
|
# seems to be a problem in the generation. See:
|
||||||
|
# https://github.com/hendricius/the-sourdough-framework/pull/188 for more
|
||||||
|
# details
|
||||||
appendix_html = %Q{
|
appendix_html = %Q{
|
||||||
|
<span class="chapterToc">
|
||||||
|
<a href="listoflocname.html">
|
||||||
|
<span class="link_text">List of Flowcharts</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
<span class="chapterToc">
|
<span class="chapterToc">
|
||||||
<a href="https://breadco.de/kofi">
|
<a href="https://breadco.de/kofi">
|
||||||
<span class="chapter_number">⭐️</span>
|
<span class="chapter_number">⭐️</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user