Skip to content

Commit c8f1e48

Browse files
committed
Render pass comments updated
Signed-off-by: Hofi <hofione@gmail.com>
1 parent a6e4a2a commit c8f1e48

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

_plugins/generate_links.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ def generate_links(page, ids, titles)
144144
end # class LinkGen
145145
end # module jekyll
146146

147+
# 1st pass (must be the first one, so this is a separate run in the CI build !!!)
148+
#
149+
# This is used now to
150+
# - generate all the page, heading, and named anchor links to `${PROJECT_ROOT}/_data/links/`
151+
#
147152
Jekyll::Hooks.register :site, :post_render do |site|
148153
puts ""
149154
shoud_build_links = (ENV['JEKYLL_BUILD_LINKS'] == 'yes')

_plugins/generate_tooltips.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def JekyllTooltipGen_hack_description_in(page_has_subtitle, page_has_description
468468
$JekyllTooltipGen_should_build_tooltips = nil
469469
$JekyllTooltipGen_should_build_persistent_tooltips = nil
470470

471-
# 1st pass
471+
# 2nd pass (1st pass is/must be generate_links.rb)
472472
#
473473
# This is used now to
474474
# - set the page nav_ndx correctly to support our custom bottom collection elements navigator
@@ -520,7 +520,7 @@ def JekyllTooltipGen_hack_description_in(page_has_subtitle, page_has_description
520520
end
521521
end
522522

523-
# 2nd pass
523+
# 3rd pass
524524
#
525525
# This is used now to
526526
# - render the page content manually and create the autolinks and tooltips

0 commit comments

Comments
 (0)