Author: buildbot Date: Wed Mar 26 11:58:45 2025 New Revision: 1924619 URL: http://svn.apache.org/viewvc?rev=1924619&view=rev Log: Automatic Site Publish by Buildbot
Modified: attic/site/docs/scripts/attic_filter.lua Modified: attic/site/docs/scripts/attic_filter.lua URL: http://svn.apache.org/viewvc/attic/site/docs/scripts/attic_filter.lua?rev=1924619&r1=1924618&r2=1924619&view=diff ============================================================================== --- attic/site/docs/scripts/attic_filter.lua (original) +++ attic/site/docs/scripts/attic_filter.lua Wed Mar 26 11:58:45 2025 @@ -69,8 +69,9 @@ function output_filter(r) coroutine.yield(output) elseif host == 'twill' then - -- this avoids adding the headers to Javadocs, which stop working if the div is added - local output = bucket:gsub('</header>', div..'</header>', 1) + -- Fix for Javadocs: </header> does not appear in them, and + -- topNav only appears in the Javadoc pages that can take the div without failing + local output = bucket:gsub('</header>', div..'</header>', 1):gsub('<div class="topNav">', div..'<div class="topNav">', 1) coroutine.yield(output) elseif host == 'eagle' then